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

ac_jason
ac_jason
  • Published Content: 2
  • Total Views: 0
  • Favorited By: 4 CPs
Full Profile | Subscribe | Add to Favorites

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.

  • 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
 
Comments 1 - 2 of 2  
Comments
Type in Your Comments Below
Great tip - thanks

Posted on 11/05/2008 at 10:11:42 AM

F*%K YOU FRANK. Works for me. II6 with PHP 5.25

Posted on 02/20/2008 at 11:02:14 AM

Comments 1 - 2 of 2 

Have more to say?
Become a Content Producer on AC

Most Comments Today