Changing upload_max_filesize for WordPress

If you have received an error such as "The uploaded file exceeds the upload_max_filesize directive in php.ini" when trying to upload files, you can follow this guide to increase the maximum upload size. While you may be receiving this error in WordPress, to fix it you'll need to log in to your cPanel account, which you can find when logged in to your account by clicking on "Services" at the top of the page, then "Active" next to your hosting package, and finally "Login to cPanel" on the left hand side of the page.

  1. In your cPanel, scroll down to the Software heading, then click on MultiPHP INI Editor.
  2. Click on the dropdown menu and select the domain you wish to adjust the limit for.
  3. Find the following values and set them as shown here:
    upload_max_filesize = 64M
    post_max_size = 64M
    file_uploads = Enabled
    memory_limit = 90
  4. When you are done adjusting the values, click Apply.


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to make WordPress show as Secure in Google Chrome

In order to make your WordPress installation show as Secure in Google Chrome, you'll need ensure...

Temporary URLs in WordPress

To use your Temporary URL with a WordPress installation, you will need to edit the Windows Hosts...

WordPress Optimization

Optimizing your scripts can keep your server and website loading quickly for your visitors. These...

Changing the WordPress Directory

You may want to change the location of your WordPress blog after you have installed it. For...

Fixing the Internal Server Error in WordPress

There are a few possible causes of the 500 Internal Server Error. It is not always due to...