Getting Error 324 (net::ERR_EMPTY_RESPONSE). when using memcache in kohana

gianebao picture gianebao · Jun 13, 2011 · Viewed 26.7k times · Source

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.

any help?

Answer

allella picture allella · Oct 27, 2012

When using a PHP framework like FuelPHP https://fuelphp.com/forums/topics/view/4256#11344

Problem

  • In Google Chrome "Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data."
  • No PHP errors, due to Apache dying before anything is sent back to the browser
  • In Apache logs, this not helpful message "Error [notice] child pid 19647 exit signal Segmentation fault (11)"

Solution Double check there is an opening php tag (duh!), or check for other silly, rookie syntax mistakes.