解决PHP5无法监听9000端口问题/502错误解决办法
时间:2021-12-11 13:15:12来源:food栏目:国内新闻 阅读:
php配置文件下www.conf 注释掉listen = /var/run/php5-fpm.sock 增加listen = 127.0.0.1:9000
; The address on which to accept FastCGI requests.
; Valid syntaxes are:
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on
; a specific port;
; 'port' - to listen on a TCP socket to all addresses on a
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
;listen = /var/run/php5-fpm.sock
listen = 127.0.0.1:9000
郑重声明:部分文章来源于网络,仅作为参考,如果网站中图片和文字侵犯了您的版权,请联系我们处理!
标签:
相关推荐