Just spent a couple days on this one...
As previously posted, if you set
upload_max_filesize = 0.25M, the value reads correctly in phpinfo(), BUT it is effectively ZERO when implemented.
Note that the following also give ZERO bytes:
upload_max_filesize = 10M (note the two white spaces before 10M), but the phpinfo() reads '10M' and everything looks ok.
I removed all white spaces in my php.ini file and viola...working fine again.