升级php之后错误
安装了lnmp0.7-full之后升级php,用upgrade_php.sh提示升级php成功,但运行所有的网页都是出现:502 Bad Gateway
应该是php升级之后未配置成功。
重启服务之后提示信息如下:
# /root/lnmp restart=========================================================================
Manager for LNMP V0.6,Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org
Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Restarting LNMP...
Starting Nginx...
Test Nginx configure...
Nginx program is reloding!
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
Shutting down MySQL.
Starting MySQL.
/root/lnmp: line 72: /etc/init.d/php-fpm: No such file or directory php升级过程可能出错了,没有安装成功,手动安装看看什么错误
页:
[1]