PHP max upload size

If you need to increase the default allowed upload size you need configure this in php and nginx if you are using it.

In php.ini change the following rows to the desired size

upload_max_filesize = 2M

post_max_size = 8M

If you are running nginx you need to add the following row with the desired size in the http {} block in nginx.conf.

client_max_body_size 32m;


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request



Article is closed for comments.