yanqzh 发表于 2017-11-16 20:39:12

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

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

PHP5.6应用的网站php_errors.log
PHP Warning:mdecrypt_generic(): An empty string was passed in /***/system/core/crypt.php on line 62
PHP Warning:gzuncompress(): data error in /***/system/core/crypt.php on line 67


php5.3应用的网站php_errors.log
PHP Deprecated:Call-time pass-by-reference has been deprecated in /***/global.php on line 2219
PHP Deprecated:Call-time pass-by-reference has been deprecated in /***/global.php on line 2285
PHP Deprecated:Call-time pass-by-reference has been deprecated in /***/global.php on line 2358
PHP Deprecated:Call-time pass-by-reference has been deprecated in /***/global.php on line 2359

licess 发表于 2017-11-17 11:40:08

warnning 一般不影响正常运行

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

502和php错误日志时没多大关系的,如果自己修改过默认的配置文件可能时动过配置文件的问题
也可能时程序上的问题,一般开php-fpm慢日志会有记录
页: [1]
查看完整版本: lnmp1.4安装三个PHP版本後,5.3或5.6始终有一个保持502