How to Increase Maximum File Upload Size in WordPress - ProfilePress

How to Increase Maximum File Upload Size in WordPress

One problem a lot of new and even old users of WordPress face is when they try to upload a file (such as themes, plugins, images) greater than the allowed size and as a result, greeted with a “exceeds the maximum upload size for this site” error.

In this tutorial, we will go over the various ways to solve this issue.

The multisite solution below was actually what did the trick.

exceeds the maximum upload size for this site - WordPress error

Tweaking php.ini

If you have access to your server php.ini file, modify the three directives below. If you don’t, then create a file called php.ini and upload it in the wp-admin folder.

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

Multisite Solution

If your website is a WordPress multisite installation and your php.ini is in OK but still unable to upload large files, follow the steps below.

  1. Navigate to Settings >> Network Settings.
  2. In Max upload file size under the Upload Settings section, increase the field value to a higher kilobyte value. For example, inserting 9000 will increase the upload limit to 9 megabytes (MB).

Conclusion

If none of the above work for you, your last resort is to contact your web host to do this for you.