php 错误
安装的1.8刚看,没有安装php我用php -v 查看版本,没有, 在/usr/local中,也没发现php ,难道是当时没安装吗?运行 ./install.sh可以不用安装php?? 但是我看安装教程,没有选择不安装PHP啊,由于网站以前没有用到PHP,我也不记得是否安装,我现在要用PHP了,刚才用升级命令安装失败了,./upgrade.sh php 输入版本号。Copy php-fpm init.d file...
cp: cannot stat '/root/lnmp1.8/src/php-7.4.24/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
/usr/bin/lnmp: line 29: /etc/init.d/mysql: No such file or directory
/usr/bin/lnmp: line 30: /etc/init.d/php-fpm: No such file or directory
======== upgrade php failed ======
upgrade php log: /root/upgrade_lnmp_php.log
You upload upgrade_lnmp_php.log to LNMP Forum for help.
显示没有安装过PHP,
现在是怎么安装php ?
当时应该是执行的 ./install.sh nginx 只安装的nginx hsia 发表于 2021-9-30 20:55
当时应该是执行的 ./install.sh nginx 只安装的nginx
该命令只安装nginx,没有php、mysql那些
用php升级脚本因为没有日志猜测的话大概率是因为缺少依赖包,建议使用 ./install.sh lnmp 进行安装
页:
[1]