报出502错误,怎么解决

问答中心分类: Linux报出502错误,怎么解决
匿名用户 asked 1年 ago
2015/12/30 11:52:19 [error] 3665#0: *25 connect() failed (111: Connection refused) while connecting to upstream, client: *.*.*.*, server: localhost, request: "GET /info.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "*.*.*.*"
1 Answers
oneinstack 管理员 answered 1年 ago

默认是sock,非9000端口,如下更改请修改 /usr/local/php/etc/php-fpm.conf