Modify 3 places:
php.ini
post_max_size = 10M //Maximum form limit
upload_max_filesize = 2M //The maximum limit of a single file uploaded
nginx
client_max_body_size 10M;
Modify 3 places:
php.ini
post_max_size = 10M //Maximum form limit
upload_max_filesize = 2M //The maximum limit of a single file uploaded
nginx
client_max_body_size 10M;