Magento上的OSX nginx 502错误


OSX nginx 502 error on Magento

希望你能帮到忙。我有运行Nginx和PHP-FPM的Mac OSX,在某些页面上我收到nginx 502错误。

我们可以说,错误日志没有多大帮助。

[错误] 11939#0:*14 从上游客户端读取响应标头时上游过早关闭连接:

我已经将我的一些 conf 文件添加到 git 中。有人可以看看并让我知道我可以进行的任何调整来阻止我的 502 错误。

https://github.com/teuma86/my_conf

发现问题与PHP和Curl的已知错误有关。

我在 OSX 控制台上发现了一些错误

此处已报告错误。

http://sourceforge.net/p/curl/bugs/1369/

对我有用的解决方案

brew install curl --with-opensslbrew install php53 --with-fpm --with-homebrew-openssl --with-homebrew-curl --without-snmp

感谢所有尝试过的人。

您是否正在使用 APC 缓存?我遇到了同样的问题,禁用APC似乎已经奏效