cPanel WordPress Site Error The uploaded file exceeds the upload_max_filesize directive in php.ini
While working with a Cpanel Website running WordPress, you attempt to upload a file and receive an error:
“The uploaded file exceeds the upload_max_filesize directive in php.ini”
To fix for ALL Accounts in Cpanel
Login to the WHM Administration system. Note that this is usually the HOST provider that has access to this.
Softare >> MultiPHP INI Editor
Then for the Different PHP Version in the Dropdown, selecting for example ea-php55 or ea-php56
Edit the post_max_size to something bigger that the default 8M
AND or
Edit the upload_max_filesize to something bigger than the default 2M
To Fix for the Account you are working in.
Loged in as the Account holder,
Software MultiPHP INI Editor
Select the location that you will apply this modification to. This should be the site or sub domain you are experiencing the problem with. (In our example we have the wordpress.projectcentre.com.au)
Edit the post_max_size to something bigger that the default 8M
AND or
Edit the upload_max_filesize to something bigger than the default 2M
This applies to Cpanel April 2018 V68