PHP.INFO is showing wrong size in Ubuntu


Posted on 2015-01-06 04:50:52

We're looking to change the limit of our PHP upload file sizes. Here's some info we have on these:

Configuration File (php.ini) Path   /etc/php5/apache2

Loaded Configuration File   /etc/php5/apache2/php.ini

And here's the content of our PHP.INI file:

upload_max_filesize = 50M

post_max_size = 50M

memory_limit = 128M

But when we've restarted Apache2, the PHP INFO keeps showing like this:

upload_max_filesize 2M