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

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

你可能感兴趣的:(上传文件)