VPS侦探论坛

 找回密码
 注册
查看: 5922|回复: 2

求助:lnmp 升级php5.5.13显示 502 Bad Gateway

[复制链接]
发表于 2015-2-6 10:49:38 | 显示全部楼层 |阅读模式

[root@localhost ~]# cat /proc/version Linux
Linux 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)方法未能解决

[root@localhost ~]# 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: Feb  5 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呢?

[root@localhost ~]# php -v
PHP 5.5.13 (cli) (built: Feb  5 2015 11:41:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies




注释zend后,重启也显示正常

[root@localhost ~]# /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-fpm  done
Starting MySQL.. SUCCESS!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-2-6 15:33:55 | 显示全部楼层


lnmp安装日志没用处
提供php的升级日志

ps aux看一下进程
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-2-6 16:06:51 | 显示全部楼层

回复 2# 的帖子


可以了,可以了,很感谢,原来是前端nginx反向过来,我没关防火墙,自己不够细心
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 07:52 , Processed in 0.026614 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表