The uploaded file exceeds the upload_max_filesize directive

Get in touch

If you would like help with "The uploaded file exceeds the upload_max_filesize directive" or with any other topic then feel free to get in touch for a chat.

by | 08/04/2018 | Tutorials, Web Design | 0 comments

Sometimes when trying to upload an image to your WordPress media library you will get an error that says “The uploaded file exceeds the upload_max_filesize directive in php.ini”, What this means in real terms is that the file is too big for your site.

While your first step should be resizing your images sometimes you will need the ability to upload larger files, and while you can upload your files via ftp if your hosting has cpanel you can change your settings to allow larger files to be uploaded through the WordPress media library.

1 . Log into cpanel, you’ll be able to get the details for this from your web host.

2. Scroll down to the “Software” section and click “Select PHP Version”

3. Click “Switch to PHP Options” in the top right hand corner.

5. Click on the value next to “upload_max_filesize” and a drop down menu will appear, select a file size then click “Apply” and then “Save.

6. You’ll now be able to upload larger files.

Can we help?

If you would like help with this, or any other topic then don’t hesitate to get in touch with us.

Premium Themes & Plugins

When you sign a website up for any of our monthly plans you get access to many of our favourite premium plugins and themes — at no additional charge. Savings up to £250 per year!

Gravity forms, Create stunning forms with ease.
~£43 per year.

Optimise Images, Website Cache, Security and more.
~£136 per year.

Add a range of extra tools to your Divi Website.

Backup your website to Google or Dropbox with ease.

Backup your website to Google or Dropbox with ease.
~£80 per year



Sign up to our newsletter for the latest hints tips & offers.

Did you know nearly 70% of people unsubscribe from email lists because they receive emails too often? That’s why we often don’t get round to sending a newsletter but when we do make sure its worth reading.

  • What’s happening with us and the internet/digital in general. 
  • Lots of helpful advice on a whole range of website and digital skills topics.
  • Sales and offfers from us and our partners. 

Get a free guide to creating sale funnels

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!