Change the max file upload size

If you are uploading large files to your website or via FTP, you may encounter an error notice if the file is too big:  "The uploaded file exceeds the upload_max_filesize directive in php.ini."

The server account default is set to 2MB maximum file size to help prevent large files clogging up the system, but you can adjust this for your site.

Solution:

The fix for this should be straight-forward: you need to increase the file size upload limit in cPanel.

You can do this via your .htaccess file, but the easiest method is probably to change the setting in cPanel php.ini config file.

To open the php.ini config file:

1) Login to your website cPanel by going to www.exampe.com/cpanel and replace example.com with your own domain name.

2) Once logged in to cPanel, scroll through the options until you find "MultiPHP INI Editor".  If you don't have this in your cPanel, you will need to open a support ticket.

3) Once in the MultiPHP INI Editor section, you will need to select the "Home Directory" in the drop down.

4) Scroll down the config settings until you find "upload_max_filesize" - change the setting to something like 10M (10 MB) or more if required.  Bear in mind the greater the files you upload, the more impact these may have on your hosting space.

5) Click on the "Apply" button at the bottom of the page to save the changes.

6) Go back to your website / FTP program and refresh / restart the upload action to upload the file again.

If you still don't have any success, please open a support ticket so that we can assist you.

 

 

  • php ini, max file size, file size, cpanel upload size
  • 178 Users Found This Useful
Was this answer helpful?

Related Articles

How do I delete the Purple Dog holding page?

This page is automatically created when you purchase webhosting from us. To remove the holding...

What hosting plans do you offer?

We offer a range of hosting plans suitable for a range of different business use purposes. You...

Can I upgrade / downgrade my hosting plan?

Upgrading: yes - and you should be able to do this from within your client account area (or just...

What is FTP and how do I use it?

What is FTP? FTP (File Transfer Protocol) is the simplest and fastest way to exchange files over...

Do you offer a hosting control panel?

For some types of accounts, we may provide access to a hosting control panel.  However, this is...