lnmp怎么监听FastCGI的9000端口 ?
lnmp怎么监听FastCGI的9000端口 ?我的lnmp安装后一直时不时出现502错误
和我以前没有出现过502错误的配置文件对比
只是发现php-fpm.conf就这点区别:
lnmp:
Address to accept fastcgi requests on.
Valid syntax is 'ip.ad.re.ss:port' or just 'port' or '/path/to/unix/socket'
<value name="listen_address">/tmp/php-cgi.sock</value>
之前没出问题的:
Address to accept fastcgi requests on.
Valid syntax is 'ip.ad.re.ss:port' or just 'port' or '/path/to/unix/socket'
<value name="listen_address">127.0.0.1:9000</value>
不过查看现在的服务器内也没有9000的进程~~~
是否和这有关联?
回复 1# 的帖子
nginx的fastcgi_pass127.0.0.1:9000;需要改成这样,还需要重启一下回复 2# 的帖子
这样--:lol :victory:
页:
[1]