出现错误324(net :: ERR_EMPTY_RESPONSE).在kohana中使用记忆快取时 [英] Getting Error 324 (net::ERR_EMPTY_RESPONSE). when using memcache in kohana

查看:2850
本文介绍了出现错误324(net :: ERR_EMPTY_RESPONSE).在kohana中使用记忆快取时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试通过kohana使用memcache时出现此错误.我所做的只是在配置文件中更改了主机名,并使用了$cache = Cache::instance('memcache');.

i'm getting this error when i try to use memcache using kohana. all i did was changed the hostname in the configuration file and used $cache = Cache::instance('memcache');.

我可以远程登录我的内存缓存服务器,所以问题可能不存在.

i can telnet my memcached servers so probably the problem is not there.

有什么帮助吗?

推荐答案

描述的错误是Google Chrome浏览器错误.这表明Kohana没有任何响应,很可能是因为错误/异常处理被抑制了.检查PHP error_reporting是否已打开(E_ALL是一个很好的值).

The error described is a Google Chrome error. This suggests that Kohana is not responding with anything, most likely because the error/exception handling is being suppressed. Check that PHP error_reporting is on (E_ALL is a good value).

如果仍然没有输出,则可能是PHP在执行过程中出现了段错误.如果是这样,那么您应该能够在Web服务器日志中找出错误(如果不是系统日志).

If there still is no output, it could be that PHP is segfaulting during execution. If so you should be able to find out what is wrong in your web server logs if not the system log.

我最好的猜测是php-memcache和/或memcache库未正确编译或已损坏.

My best guess is that php-memcache and/or the memcache library is not compiled correctly or has been corrupted.

这篇关于出现错误324(net :: ERR_EMPTY_RESPONSE).在kohana中使用记忆快取时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆