【发布时间】:2017-12-11 12:06:40
【问题描述】:
我的网站显示错误 502 Bad Gateway 。在检查错误日志文件时,我发现错误 -
connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connection to upstream, client
我该如何解决这个问题?
【问题讨论】:
-
你能发布
php -v的输出吗? -
php 5.5.12 (cli)
-
你确定你真的安装了 php fpm 吗?