打印

LNMP问题反馈必读

本主题由 licess 于 2017-6-6 08:31 关闭

升级PHP至PHP5.4.34、nginx至nginx1.7.7后执行HTML正常,执行PHP出现502 Bad Gateway。

/usr/local/nginx/sbin/nginx -t ,正常。
/usr/local/php/bin/php -v,正常。
/root/lnmp statu,正常。

/usr/local/php/var/log/php-fpm.log 的日志如下:

[13-Nov-2014 22:40:55] NOTICE: fpm is running, pid 25595
[13-Nov-2014 22:40:55] NOTICE: ready to handle connections
[13-Nov-2014 22:56:55] NOTICE: Finishing ...
[13-Nov-2014 22:56:55] NOTICE: exiting, bye-bye!
[13-Nov-2014 22:56:57] NOTICE: fpm is running, pid 26207
[13-Nov-2014 22:40:55] NOTICE: fpm is running, pid 25595
[13-Nov-2014 22:40:55] NOTICE: ready to handle connections
[13-Nov-2014 22:56:55] NOTICE: Finishing ...
[13-Nov-2014 22:56:55] NOTICE: exiting, bye-bye!
[13-Nov-2014 22:56:57] NOTICE: fpm is running, pid 26207
[13-Nov-2014 22:56:57] NOTICE: ready to handle connections
[13-Nov-2014 23:19:45] NOTICE: Finishing ...
[13-Nov-2014 23:19:45] NOTICE: exiting, bye-bye!
[13-Nov-2014 23:19:46] NOTICE: fpm is running, pid 27339
[13-Nov-2014 23:19:46] NOTICE: ready to handle connections

TOP