php与nginx配置,不能运行php程序

时间:16-07-09 来源: 作者: 点击:

查看nginx日志中发现下述报错内容:

2013/01/15 12:15:46 [error] 1707#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: XXX, server: _, request: "GET /phpif.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: XXX

解决手法:

/etc/init.d/php-fpm restart 重启php,

必要的时候再重启下service nginx restart

发表于

声明:本文转载于网络,文章链接:http://www.nd9p.com/4565.html