php-fpm 启动后没有监听端口9000
location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000; #将请求转发给本机9000端口,PHP解释器
fastcgi_index index.php;
#fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi.conf;
}
原文地址:https://www.cnblogs.com/fanever/p/11138411.html
时间: 2024-10-29 00:20:49