php.ini upload_max_filesize (locked?) bug
Posted by: masakatsu
Posted on: 2008-07-22 06:48:00
Hi,
Any help on this would be most appreciated.
I know this isn't supported, but I carried out the instructions for creating a local php.ini as here:
http://wiki.dreamhost.com/index.php/PHP.ini
I'm running php 5.2.6. The instructions ran fine, and I've got a local editable php.ini. However, I'm encountering a bug.
In the new php.ini I've changed the post_max_size, and the upload_max_filesize. Post_max_size changes without a problem (once I save in vi, a phpinfo() request responds with the new size, and the online application also registers the change). However, upload_max_filesize seems to be locked at 2M, it will not change. (php.ini has the new size listed after the save, but the server doesn't register the change).
.htaccess for that folder doesn't have anything that would cause it. (So nothing there that I can see over-riding the php.ini information). I've tried lowering the limit > 2M in php.ini, as well as raising it, to see if it was set as an upper limit. But it stays at 2M in both cases. I can't figure out if any other setting would have this locked at 2M. :/
Has anyone else come across this issue, (upload_max_filesize is locked (at 2M))?
I'm willing to accept that the answer is just under my nose, and my own muppetry is stopping me from seeing it. But where! :)