How to change the WordPress PHP upload limits

What is the WordPress PHP upload limit

By default, your server has a size limitation on files that are uploaded. This prevents upload of huge files that may slow down or crash the server, or potentially unwanted files. However, this limit is sometimes too strict and it prevents you from uploading your themes or plugins. If you are trying to upload something, and it partially works then stop, you are most probably dealing with this issue.

How can I increase upload limit

Depending on your setup, you may or not may be able to do this yourself. If not, please contact your hosting support. Otherwise, you can proceed with the instructions. At this time the biggest single .json file that needs to be imported is about 15 Mb. This is the file size (and bigger) you want to optimise for.

Here is a general article on how to do update upload limit settings: 
  Is The WordPress Upload Limit Giving You Trouble?

We use the following settings for our own Divi & WordPress installations.
These settings may be higher values than you require for your website but, it definitely works for us. We list them for information purposes only. You have to decide if they are suitable for your needs.

General PHP settings used by Divi Den
memory_limit = 256M
post_max_size = 256M
max_execution_time = 180
upload_max_filesize = 256M
max_input_time = 600
max_input_vars = 5000

Still need help? Contact Us Contact Us