PHPBuilder - Installing PHP under IIS and creating a Discussion



RSS Twitter
Articles Setup And Installation

Installing PHP under IIS and creating a Discussion

by: Jayesh Jain
|
October 30, 2002

Introduction

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

1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
Next Page »

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
Jayesh Jain

Comment:



Comment:

(Maximum characters: 1200). You have characters left.