Jump to content

php.ini doesn't match phpinfo()


cgroce

Recommended Posts

Hi all,

 

I've got a strange one here on a Linux platform (Ubuntu Server).  When I run phpinfo(), it correctly shows the location of php.ini at /etc/php5/apache2/php.ini.  So I know php knows where the php.ini file is located.

 

However, when I make changes to this file, phpinfo() does not reflect the changes (max file upload remains at the default of 2MB).  When I rename php.ini, phpinfo() reports no configuration file.  So I know it's not referencing some other php.ini file.

 

My question is this:  what is being given precedence here?

 

Thanks!

 

Link to comment
https://forums.phpfreaks.com/topic/253313-phpini-doesnt-match-phpinfo/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.