ini_set always returns false

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ramya123
Forum Newbie
Posts: 13
Joined: Thu Sep 11, 2008 6:11 am

ini_set always returns false

Post 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?
mmj
Forum Contributor
Posts: 118
Joined: Fri Oct 31, 2008 4:00 pm

Re: ini_set always returns false

Post by mmj »

http://www.php.net/manual/en/ini.php#ini.list

upload_max_filesize is only PHP_INI_PERDIR changeable.
Post Reply