ktyuuu 发表于 2019-2-11 20:56:25

麻烦军哥,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
#

prouser 发表于 2019-2-11 21:25:43

并不影响,强迫症的话。

vim /bin/lnmp

去掉相关mysql php的字段。或者用下面的命令操作nginx:

lnmp nginx restart

/etc/init.d/nginx restart

ktyuuu 发表于 2019-2-11 21:59:27

回复 2# 的帖子

解决了,非常感谢!!
页: [1]
查看完整版本: 麻烦军哥,php,mysql卸载后,lnmp重启显示的错误信息怎么能去除