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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.