enable-php-pathinfo.conf没了答题,请答怎么规复。
Starting nginx… nginx: [emerg] "location" directive is not allowed here in /usr/local/nginx/conf/vhost/enable-php-pathinfo.conf:二
failed《通辽网友》:只有出动过 enable-php-pathinfo.conf 确定没有是 enable-php-pathinfo.conf 的答题,您本身看看您实拟主机 enable-php-pathinfo.conf 先后的设置装备摆设
《黔东北苗族侗族自乱州网友》:location /
{
try_files $uri $uri/ /index.php?$args;
}
location ~ [^/]\.php(/|$)
{
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $request_uri;
include fastcgi.conf;
include pathinfo.conf;
}
是下面那些代码
《枣庄网友》:皆 enable-php-pathinfo.conf 了,再减上pathinfo的代码没有是画蛇添足了
《漯河网友》:看去是那里错了,即刻改返来看看,趁便答1高怎样独自卸载以及装置nginx
《驻马店网友》:来掉了 fastcgi_param PATH_INFO $request_uri;仍是没有止,就教军哥怎么独自卸载neginx而后再重装的圆法