Page 1 of 1

ini_set always returns false

Posted: Mon Nov 17, 2008 4:40 am
by ramya123
Hi,
I want to change the value of upload_max_filesize in php.ini, with function ini_set("upload_max_filesize", "8M");

But this does not work! the function return False!

Any ideas?

Re: ini_set always returns false

Posted: Mon Nov 17, 2008 5:19 am
by mmj
http://www.php.net/manual/en/ini.php#ini.list

upload_max_filesize is only PHP_INI_PERDIR changeable.