报错:2019/07/06 14:54:58 [error] 1935#1935: *98 connect() failed (111: Connection refused) while connecting to upstream, client: 61.140.197.55, server: www.yan1.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.yan1.com"
1.排查看是否有php-fpm
whereis php-fpm
2.如果没有yum安装
yum search all php-fpm
3.安装对应版本
yum install +与php版本一样的版本
4.netstat -tunpl | grep 9000
5.重启nginx -s reload