cniyo 发表于 2011-8-20 16:17:27

升级php之后错误

安装了lnmp0.7-full之后升级php,用upgrade_php.sh
提示升级php成功,但运行所有的网页都是出现:502 Bad Gateway
应该是php升级之后未配置成功。

cniyo 发表于 2011-8-20 16:26:26

重启服务之后提示信息如下:

# /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

licess 发表于 2011-8-20 16:46:28

php升级过程可能出错了,没有安装成功,手动安装看看什么错误
页: [1]
查看完整版本: 升级php之后错误