求助:lnmp 升级php5.5.13显示 502 Bad Gateway
# cat /proc/version LinuxLinux version 2.6.32-431.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Nov 22 03:15:09 UTC 2013
lnmp安装成功后升级 php5.5.13 成功后,可以访问探针。
然后重启lnmp后就显示502了,按贴(https://bbs.vpser.net/thread-1144-1-1.html)方法未能解决
# php -v
Zend Guard Loader requires Zend Engine API version 220090626.
The Zend Engine API version 220121212 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.
PHP 5.5.13 (cli) (built: Feb5 2015 11:41:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
把php.ini 的 zend配置部分注释后,没显示错误了,还是502呢?
# php -v
PHP 5.5.13 (cli) (built: Feb5 2015 11:41:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
注释zend后,重启也显示正常
# /root/lnmp restart
=========================================================================
Manager for LNMP V1.0,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}
=========================================================================
Stoping LNMP...
Stoping nginx...done
Gracefully shutting down php-fpm . done
Shutting down MySQL. SUCCESS!
Starting LNMP...
Starting nginx...done
Starting php-fpmdone
Starting MySQL.. SUCCESS! lnmp安装日志没用处
提供php的升级日志
ps aux看一下进程
回复 2# 的帖子
可以了,可以了,很感谢,原来是前端nginx反向过来,我没关防火墙,自己不够细心
页:
[1]