VPS侦探论坛

 找回密码
 注册
查看: 7034|回复: 1

VPS经常性502,Zend Optimizer, eAccelerator 均显示不支持

[复制链接]
发表于 2012-3-4 16:20:23 | 显示全部楼层 |阅读模式

/usr/local/php/bin/php -v 执行如下。
rockscrusher:~# /usr/local/php/bin/php -v
PHP 5.3.6 (cli) (built: May 15 2011 11:16:16)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies

/usr/local/php/sbin/php-fpm reload 执行如下
rockscrusher:~# /usr/local/php/sbin/php-fpm reload
Usage: php-fpm [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix> ] [-c <file>] [-d foo[=bar]] [-y <file>]
  -c <path>|<file> Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value 'bar'
  -e               Generate extended information for debugger/profiler
  -h               This help
  -i               PHP information
  -m               Show compiled in modules
  -v               Version number
  -p, --prefix <dir>
                   Specify alternative prefix path to FastCGI process manager (default: /usr/local/php).
  -y, --fpm-config <file>
                   Specify alternative path to FastCGI process manager config file.
  -t, --test       Test FPM configuration and exit
  
  
  但是我的php探针和phpinfo显示 php版本 5.2.17,Zend Optimizer支持: 不支持 eAccelerator支持: 不支持

并且我的VPS经常性的502,每次重启便正常。

我的VPS :  Debian GNU/Linux 6.0 \n \l
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-3-4 16:53:59 | 显示全部楼层


Zend Optimizer 我不说了,自己看置顶贴常见问题,我已经说的快吐了

php -v 里没有就是没安装上

502原因很多,按https://bbs.vpser.net/thread-1144-1-1.html 排查调整看看
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-22 11:41 , Processed in 0.024872 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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