我正在使用nginx和spawnf-cgi与APC和memcache enabled.I'm 502浏览器坏门的方式和错误日志上的这个错误。
2013/01/07 06:55:46 [error] 90799#0: *53 upstream prematurely closed connection while reading response header from upstream, client: abcd, server: www.mysite.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/fcgi.sock:", host: "www.mysite.com"
这与PHP的版本有关。 我已经使用了最新版本的nginx和PHP的旧版本。通过更新PHP到最新版本已经修复了这个问题。