修改3个地方:
php.ini
post_max_size = 10M //最大表单限制
upload_max_filesize = 2M //上传的单个文件的最大限制
nginx
client_max_body_size 10M;
修改3个地方:
php.ini
post_max_size = 10M //最大表单限制
upload_max_filesize = 2M //上传的单个文件的最大限制
nginx
client_max_body_size 10M;
转载于:https://my.oschina.net/u/2399303/blog/1808848