PHP: Reloading Your php.ini File with IIS 6 Manager

Recycle your DefaultAppPool

Y! Jason
Making changes to the php.ini file settings will not be seen until the IIS (Internet Information Services) reloads or re-caches the settings. To check the current php.ini file settings, create a page that displays the PHP info.

Create a file named phpinfo.php, place the phpinfo(); on a page, this will show all the current PHP settings. Open your IIS 6 manager, expand the Application Pools folder, right click on DefaultAppPool and press Recycle. It only takes a second.

Then reload the sample PHP info page (phpinfo.php). The new setting will be listed.

Published by Y! Jason

I joined AC in Feb 2005. Since then I have been a part of developing the publishing platform and designing the database.  View profile

  • Just saving the php.ini file will not be enough
  • IIS 6 holds application settings in the Application Pool
  • The phpinfo(); function shows all PHP server settings
You can schedule IIS 6 to recycle Application Pool at any time interval

1 Comments

Post a Comment
  • Kathy11/5/2008

    Great tip - thanks

To comment, please sign in to your Yahoo! account, or sign up for a new account.