Technical Operations Manager
Aquent
US-MO-Saint Louis

Justtechjobs.com Post A Job | Post A Resume

Installing PHP under IIS and creating a Discussion Forum with Access Database
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
[ Next Page ]


Comments:
RE: php not recognised by IISTri Nugro Susilo07/20/07 22:50
Worked for meLuke06/28/07 08:19
RE: IIS not recognizing PHPAlfie05/30/07 10:16
RE: 500 Http Internal Server Errorsashok02/08/06 22:28
upload PHP Script to serveranton11/12/05 01:21
How to make fast response of PHP pageNilam11/09/05 05:47
php begineerajayi ayokunle10/12/05 10:52
php not recognised by IISchrid davies10/01/05 12:53
CGI TimeoutMax 09/15/05 16:12
500 Http Internal Server ErrorJason06/16/05 22:19
"inetinfo.exe -- Application Error" upon shutkhsieh06/09/05 16:47
RE: IIS not recognizing PHPcaroline06/09/05 07:39
installing php i get "Bad Request (Invalid HoDavid P05/18/05 16:37
RE: IIS not recognizing PHPgthri05/04/05 04:20
RE: Creating diss. forums in PHPmelatie04/19/05 21:59
Creating diss. forums in PHPMd Zakir04/11/05 03:53
Best place to get info DAVID COOPER02/24/05 22:59
ODBC ErrorKetan Shah02/07/05 02:01
php.ini file getting overriddenMrCannon01/23/05 00:12
Bug in the forum.php fileSri Kanth12/26/04 12:00
RE: IIS not recognizing PHPKristen12/07/04 21:43
RE: I 'M Having Problems With ThisJnkyrd05/26/04 04:59
RE: I enjoyed this & Apache on W2Kshirts04/27/04 06:15
Security Alert! The PHP CGI cannot be accesseMr.thusana11/25/03 22:21
Re: Not working (found it out)Emilio10/19/03 09:41
IIS not recognizing PHPEmilio10/19/03 09:12
RE: Php & Access Forumson08/07/03 13:41
Php & Access ForumAdrian03/19/03 22:08
Extra Step in .NET serverBetaBoy03/18/03 14:32
RE: I'm Having Problems With ThisStephen Emslie03/12/03 17:03
MySQL-PHPnex02/04/03 03:41
RE: I'm Having Problems With ThisCodex Sianaiticus01/03/03 10:14
RE: I'm Having Problems With Thiscosolar12/03/02 01:18
No Apache Server Variables HereAmitkumar Dave11/19/02 10:21
RE: I enjoyed this & Apache on W2KHallow's Eve11/13/02 16:10
RE: I'm Having Problems With ThisJason11/12/02 09:48
I'm Having Problems With ThisGary Williams11/10/02 06:21
RE: Could someone make a mysql version of this?Jayesh Jain11/04/02 20:03
RE: I enjoyed this & Apache on W2KJayesh Jain11/04/02 19:53
RE: installing PHP and MySQL in Windows XPJayesh Jain11/04/02 19:51
RE: Appear an errorJayesh Jain11/04/02 19:50
Check that file existsBen11/03/02 10:53
Appear an errorsaul11/01/02 20:09
installing PHP and MySQL in Windows XPSuresh Manandhar11/01/02 06:13
I enjoyed this & Apache on W2KHallow's Eve10/31/02 04:38
Could someone make a mysql version of this?Pests10/30/02 23:25
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.