麻烦军哥,php,mysql卸载后,lnmp重启显示的错误信息怎么能去除
# lnmp restart+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx...done
/usr/bin/lnmp: line 40: /etc/init.d/mysql: No such file or directory
/usr/bin/lnmp: line 41: /etc/init.d/php-fpm: No such file or directory
Starting LNMP...
Starting nginx...done
/usr/bin/lnmp: line 26: /etc/init.d/mysql: No such file or directory
/usr/bin/lnmp: line 27: /etc/init.d/php-fpm: No such file or directory
# 并不影响,强迫症的话。
vim /bin/lnmp
去掉相关mysql php的字段。或者用下面的命令操作nginx:
lnmp nginx restart
/etc/init.d/nginx restart
回复 2# 的帖子
解决了,非常感谢!!
页:
[1]