Download Windows binary for the latest version of PHP. Once you've downloaded it, unzip it into a C:\, rename the folder to "php".
Open the PHP.INI-DIST file from C:\PHP folder, locate the following line
;cgi.force_redirect = 1
We need to uncomment this line and change the setting to 0 as shown below to run PHP under IIS, do the necessary changes and save the file as php.ini in your windows folder (C:\WINNT on my computer)
cgi.force_redirect = 0
Check the following link for configuring the IIS for php:
http://www.phpbuddy.com/sub_articles...her_articles=4
Reply With Quote