How to fix wordpress error (upload_max_filesize directive in php.ini) in WHM Cpanel

If you are new to wordpress, you will definitely come across this error especially if it has not been set by your web host while working with your Cpanel. This error occurs when you attempt to upload a file larger than the 2M that is allowed by default.  Below is the error you will see on your screen,

“The uploaded file exceeds the upload_max_filesize directive in php.ini”

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

Add your comment