标签:include script server ast load 请求 style name cgi
1、在虚拟主机配置(即Server块)中添加如下代码:
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
2、重载 nginx :/usr/local/nginx/sbin/nginx -s reload
3、访问 php 页面即可
标签:include script server ast load 请求 style name cgi
原文地址:http://www.cnblogs.com/pzk7788/p/6720826.html