PHP.INFO is showing wrong size in Ubuntu

1142275 pts.
Tags:
Linux
PHP
Ubuntu
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
What should we do here?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can change upload_max_filesize 2M to upload_max_filesize = 2M then you must restart apache.
You can find more info at here: http://tutscode.com/max-upload-files-with-multi-upload-images-in-php.html

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: