Aug 24, 2019, 07:14 am

News:

All student forum is just for you, what questions do you have?


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

Started by 4niso, May 29, 2019, 10:51 pm

Previous topic - Next topic

4niso

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


4niso