php.ini values don't update
Posted by: Arancaytar
Posted on: 2007-03-20 14:53:00
I installed my own version of PHP 5.2.1, which has worked very nicely so far. However, I recently ran into the (absurdly low) size limit for uploaded files: 2M.
I located the php.ini file (the path is shown by phpinfo()), and noticed something odd: The value was set to 8M there.
I set it to 10M to test - phpinfo() shows it's still 2M.
This is not limited to a single site, but happens on all sites that use my PHP installation.
Grepping for post_max_size and upload_max_filesize hasn't turned up any other commands. In fact, grepping for "2M" has been completely fruitless.
The "2M" setting is shown by phpinfo() to be both the Local and Global value.
How can I track down where this 2M is set and change it?