enable-php.conf的问题..
nginx: "location" directive is not allowed here in /usr/local/nginx/conf/enable-php.conf:3 enable-php.conflocation ~ [^/]\.php(/|$)
{
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
请教军哥错在哪了..也不确定这个是不是原版的内容,提示出错之后改了几次. 这个和enable-php.conf没关系,要看你虚拟主机里的设置,一般都是你虚拟主机配置中有错误
页:
[1]