I'm using PHP 5.3.0 and have encountered something that might be a bug (in which case I'll report it) or might be me - so I'm asking to make sure.
When running this code:
echo ini_get('upload_max_filesize'), ", " , ini_get('post_max_size')
upload_max_filesize = 10M
post_max_size = 10M
You can't use shorthand notation to set configuration values outside of PHP.ini. I assume it's falling back to 2MB as the compiled default when confronted with a bad value.
On the other hand, I don't think
upload_max_filesize could be set using
ini_set(). The "official" list states that it is