#native_company# #native_desc#

Installing PHP under IIS and creating a Discussion

By Jayesh Jain
on October 30, 2002


If you are a great fan of PHP, you might have installed PHP on an Apache server and used MySQL as the backend on windows or a linux machine. Most of the people will develop and test their code on a windows machine till they move their work on a production machine.
In this article I am going to step you through installing PHP under IIS (Internet Information Server) on Windows 2000 and use Microsoft Access as backend (in fact you could use Foxpro, SQL Server, Interbase or any other ODBC database).

Installing PHP

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