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

Recycle your DefaultAppPool

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.

Sample PHP info page (phpinfo.php):



PHP Info





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.

Related information
  • 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