I’m collecting old laptops and recycling them for young people to access online learning and address the #DigitalDivide. Click the button to find out more.

Websites promote you 24/7: No employee will do that.

The uploaded file exceeds the upload_max_filesize directive

Apr 8, 2018 | Tutorials, Web Design

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.

Quick Contact

Question not answered? We're here to help.