在nginx.conf中配置(如红色字体的内容)
location ~ .php$ {
root C:/php_web;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
include fastcgi_params;
#最大上传200M
client_max_body_size 200m;
#上传临时存储路径
client_body_temp_path d:/nginx-1.0.10/nginx_temp;
}
声明: 此文观点不代表本站立场;转载须要保留原文链接;版权疑问请联系我们。