CakePHP的和suphp插座,连接被对方重置 [英] CakePHP and suphp socket, connection reset by peer
问题描述
在我的Linux服务器的日志,我有这
记录几乎每5分钟。我
找不到两个星期的原因
我会,如果你能很开心
我推荐的方法来诊断
问题。
In my Linux server's logs I have this record nearly every 5 minutes. I couldn't find the reason for two weeks and I would be very happy if you can recommend me a way to diagnose the problem.
我的托管公司坚持认为,问题是我的codeS之内。我使用CakePHP 2.2。但我无法找到任何导致此问题。
My hosting company insists that the problem is within my codes. I use CakePHP 2.2. But I couldn't find anything that causes this problem.
记录是的error_log文件中。我使用PHP
5.3.8和的Litespeed。 2012-09-03 16:01:28.399 [INFO]
[95.7.223.91:63814-0#APVH_example.com
连接[/ TMP / lshttpd /
APVH_example.com_Suphp.sock。 781]
根据要求#151,确认,0,
相关的过程:845244,运行:0,错误:连接被对方重置
Records are inside error_log file. I use php 5.3.8 and litespeed. 2012-09-03 16:01:28.399 [INFO] [95.7.223.91:63814-0#APVH_example.com connection to [/tmp/lshttpd/ APVH_example.com_Suphp.sock. 781] on request #151, confirmed, 0, associated process: 845244, running: 0, error: Connection reset by peer!
推荐答案
请参见下面的网址,我认为解决问题的你:
See below URL i think solve you problem:
http://www.litespeedtech.com/support/forum/ showthread.php?吨= 6125
让我知道,如果不解决您的问题。
Let me know if not solved your problem.
更新
您能够通过的.htaccess更改任何设置PHP用同样的成功。如果你想关闭Zend的卫队添加按照.htaccess文件行。
You able to change any PHP settings via .htaccess with the same success. If you want to turn off 'Zend Guard' add following line in .htaccess file.
code:
php_value zend_optimizer.optimization_level = 0
参见下面的网址: -
see below URL:-
http://forums.zend.com/viewtopic.php? F = 57& T公司= 7063
http://www.webhostingtalk.com/showthread.php?t=947413
这篇关于CakePHP的和suphp插座,连接被对方重置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!