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.