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

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 @   solq  阅读(1245)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示