PHP 致命错误

PHP 致命错误

由于某种原因,Apache/PHP 将这些错误抛入 error_log。我不知道是什么原因造成的?

[Wed May 06 16:39:33.056497 2015] [:error] [pid 14857:tid 140714977302272] [client 165.196.202.10:3143] PHP Fatal error:  Unknown: Cannot find save handler '/var/lib/php/wsdlcache' in Unknown on line 0, referer: http://web.$
[Wed May 06 16:43:34.248044 2015] [:error] [pid 15111:tid 140715103180544] [client 163.248.244.189:25966] PHP Fatal error:  Unknown: Cannot find save handler 'tcp://74.221.216.88:11211?persistent=1&timeout=1&retry_i$
[Wed May 06 16:45:04.160496 2015] [:error] [pid 15174:tid 140715375916800] [client 163.248.244.76:32613] PHP Fatal error:  Unknown: Cannot find save handler 'tcp://74.221.216.88:11211?persistent=1&timeout=1&retry_in$
[Wed May 06 16:45:33.577941 2015] [:error] [pid 15302:tid 140715134650112] [client 162.127.23.29:52057] PHP Fatal error:  Unknown: Cannot find save handler 'tcp://74.221.216.88:11211?persistent=1&timeout=1&retry_int$
[Wed May 06 16:47:04.304594 2015] [:error] [pid 15365:tid 140714998281984] [client 198.236.95.97:22866] PHP Fatal error:  Unknown: Cannot find save handler 'tcp://74.221.216.88:11211?persistent=1&timeout=1&retry_int$
[Wed May 06 16:50:31.683150 2015] [:error] [pid 15680:tid 140715218568960] [client 206.208.218.40:40735] PHP Fatal error:  Unknown: Cannot find save handler 'tcp://74.221.216.88:11211?persistent=1&timeout=1&retry_in$

根据“php -i | grep session”,相同的会话处理程序是正确的。

session.save_handler => memcache => memcache
session.save_path => tcp://74.221.216.88:11211?persistent=1&weight=1&timeout=1&retry_interval=10 => tcp://74.221.216.88:11211?persistent=1&weight=1&timeout=1&retry_interval=10

有什么办法可以解决这个问题吗?操作系统:CentOS 7 64Bit Http:Apache 2.4 event mpm PHP:php-zts

谢谢!

答案1

检查 memcache 守护程序是否正在运行,端口 11211 是否正在监听并被防火墙允许。您还应该检查 PHP 中的 memcache 模块(是否已加载)

相关内容