zy2701 发表于 2023-4-3 10:51:40

1.9和2.0安装php出错

在Amazon Linux 2023上,安装1.9和2.0都出问题,问题都出在php上。
安装和升级php出错的提示一样:



Composer install successfully.
Install ZendGuardLoader for PHP 7...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat '/usr/soft/lnmp2/src/php-7.4.33/sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
include/upgrade_php.sh: line 881: lnmp: command not found
======== upgrade php failed ======
upgrade php log: /root/upgrade_lnmp_php20230403104115.log
You upload upgrade_lnmp_php.log to LNMP Forum for help.


zy2701 发表于 2023-4-3 10:52:34

我试了一下,几个php版本下载下来直接解压,都没有sapi/fpm/init.d.php-fpm这个文件,只有sapi/fpm/init.d.php-fpm.in文件

licess 发表于 2023-4-3 13:03:35

你贴出的信息没有有用的信息,按反馈必读要求提供完整的日志信息
页: [1]
查看完整版本: 1.9和2.0安装php出错