location ~ \.php$ {
root /var/www/html/public;
client_max_body_size 50M;
client_body_temp_path /tmp;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
附:不要找了,网上说的很多我都试过!一直提示Firebug 达到了 Post 请求大小限制
修改PHP.ini中post_max_size upload_max_filesize max_execution_time max_input_time 具体参考:http://blog.phpfs.com/archives/118.html