配置Nginx 支持php-12163069
#vim nginx.conflocation ~ .php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_indexindex.php;
fastcgi_paramSCRIPT_FILENAME$docoument_root$fastcgi_script_name;
include fastcgi_params;
}
注意:启动服务时,可能会提示$docoument_root错误之类的,如果提示,就写全路径/usr/local/nginx/html即可 。
页:
[1]