本文介绍了上游过早关闭的连接,同时从上游,客户端读取响应头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从FreeBSD盒中的/var/log/messages收到此错误.我在启用memcacheapc模块的情况下使用nginxspawn-fcgi.

I'm getting this error from /var/log/messages on my FreeBSD box. I'm using nginx and spawn-fcgi with memcache and apc modules enabled.

upstream prematurely closed connection while reading response header from upstream,
client HTTP/1.1", upstream: "fastcgi://unix:/tmp/fcgi.sock:", host:

推荐答案

它与PHP版本有关.我使用了最新版本的nginx和稍旧的PHP版本.通过将PHP更新到最新版本已解决了该问题.

It was related to the version of PHP. I have used latest version of nginx and slightly old version of PHP. The issue has been fixed by updating PHP to latest version.

这篇关于上游过早关闭的连接,同时从上游,客户端读取响应头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-22 23:21