Wordpress Help ?

Kneesilesic

New Member
How to fix The uploaded file exceeds the upload_max_filesize directive in php.ini.
edit "upload_max_filesize" in php.ini

if your site hosted on shared hosting ask your hosting provider to increase upload max filesize Last edited by MediaStar; 31st Oct 2012 at 05:48 AM. I contacted them , they said

To remove this warning, edit your PHP script and remove the entire line where the disabled function is mentioned or insert this line on the top of PHP script:

error_reporting(0);

But how ? Quote: Originally Posted by skykumar I contacted them , they said

To remove this warning, edit your PHP script and remove the entire line where the disabled function is mentioned or insert this line on the top of PHP script:

error_reporting(0);

But how ? This reply from your host has nothing to do with your error, your error "The uploaded file exceeds the upload_max_filesize directive in php.ini." is related to file size limit which can be fixed by updating php.ini file as MediaStar mentioned. And that file is only accessible via SSH ( if you are on shared hosting you cant, only your host can fix/update it , and remember shared hosts only allow specific MB upload size)

error_reporting(0); will just turn off that error display, it will not fix your upload limit.

Your host's reply is childish..... I use santrex.net

They also said

You can get this or any similar error by running a PHP script, because the desired function is considered to be dangerous, so it is disabled on main PHP configuration.

We have disabled most insecure PHP functions and are unable to allow them for any specific users due to potential security issues. ^^ ask them at least increase to 8MB, if not time to change other hosting provider
facepalm.gif
 
Top