更改限制服务器上传文件大小

1. Edit “/usr/local/nginx/conf/nginx.conf “. Find “client_max_body_size” and change the value to the one you want.

2 Edit “/usr/local/php/etc/php.ini”. Find “post_max_size” and “upload_max_filesize” and change the values;

max_execution_time = 300000     ; Maximum execution time of each script, in seconds
max_input_time = 300000 ; Maximum amount of time each script may spend parsing request data

posted @ 2012-06-04 16:15  solq  阅读(1242)  评论(0编辑  收藏  举报