LNMP PHP安装失败
本帖最后由 hsia 于 2023-3-23 12:48 编辑LNMP1.9
当时只安装了nginx ,没有安装PHP
现在要用到PHP了,
独立安装了MYSQL成功
然后,./upgrade.sh php
输入的7.4.28
<blockquote>2023-03-23 04:31:50 (697 KB/s) - ‘/usr/local/bin/composer’ saved
应该怎么处理?
错误在下面
2023-03-23 04:31:50 (697 KB/s) - ‘/usr/local/bin/composer’ saved
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 '/root/lnmp1.9/src/php-7.4.28/sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Starting LNMP...
Starting nginx...done
Starting mysql (via systemctl): mysql.service.
/usr/bin/lnmp: line 30: /etc/init.d/php-fpm: No such file or directory
======== upgrade php failed ======
upgrade php log: /root/upgrade_lnmp_php20230323043009.log
You upload upgrade_lnmp_php.log to LNMP Forum for help. 按要求提供完整的升级日志,没日志没法猜测原因
页:
[1]