打印

lnmp1.4安装三个PHP版本後,5.3或5.6始终有一个保持502

lnmp1.4安装三个PHP版本後,5.3或5.6始终有一个保持502

centos6.8,lnmp1.4,安装了php7  php5.3  php5.6,其中php7是默认,5.3或5.6是加装,三个版本都有网站应用。
发现5.3重启後消除了502,但5.6则502,5.6重启後消除502,5.3则502.

PHP5.6应用的网站php_errors.log
[06-Nov-2017 04:33:55 Etc/GMT-8] PHP Warning:  mdecrypt_generic(): An empty string was passed in /***/system/core/crypt.php on line 62
[06-Nov-2017 04:33:55 Etc/GMT-8] PHP Warning:  gzuncompress(): data error in /***/system/core/crypt.php on line 67


php5.3应用的网站php_errors.log
[16-Nov-2017 19:50:12 PRC] PHP Deprecated:  Call-time pass-by-reference has been deprecated in /***/global.php on line 2219
[16-Nov-2017 19:50:12 PRC] PHP Deprecated:  Call-time pass-by-reference has been deprecated in /***/global.php on line 2285
[16-Nov-2017 19:50:12 PRC] PHP Deprecated:  Call-time pass-by-reference has been deprecated in /***/global.php on line 2358
[16-Nov-2017 19:50:12 PRC] PHP Deprecated:  Call-time pass-by-reference has been deprecated in /***/global.php on line 2359

TOP

warnning 一般不影响正常运行

deprecated一般时使用的函数之类的已经被当前版本弃用,一般都是兼容性问题

502和php错误日志时没多大关系的,如果自己修改过默认的配置文件可能时动过配置文件的问题
也可能时程序上的问题,一般开php-fpm慢日志会有记录

TOP