Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing PHP on IIS 5 (for php forum use)

Status
Not open for further replies.

adamtate

Technical User
Dec 18, 2002
23
GB
Can someone please explain to me exactly how to do this?

All I want to do is host a php web forum.

We host many sites, but have never before done a php one.

We have Win 2000 Advanced server running IIS 5.


I've downloaded php and have tried to install it.

Can someone please take me through step-by-step of how to do this properly.

I've followed this:

Windows NT/2000/XP and IIS 4 or newer
To install PHP on an NT/2000/XP Server running IIS 4 or newer, follow these instructions. You have two options to set up PHP, using the CGI binary (php.exe) or with the ISAPI module.

In either case, you need to start the Microsoft Management Console (may appear as 'Internet Services Manager', either in your Windows NT 4.0 Option Pack branch or the Control Panel=>Administrative Tools under Windows 2000/XP). Then right click on your Web server node (this will most probably appear as 'Default Web Server'), and select 'Properties'.

If you want to use the CGI binary, do the following:


Under 'Home Directory', 'Virtual Directory', or 'Directory', click on the 'Configuration' button, and then enter the App Mappings tab.

Click Add, and in the Executable box, type: c:\php\php.exe (assuming that you have unziped PHP in c:\php\).

In the Extension box, type the file name extension you want associated with PHP scripts. Leave 'Method exclusions' blank, and check the Script engine checkbox. You may also like to check the 'check that file exists' box - for a small performance penalty, IIS (or PWS) will check that the script file exists and sort out authentication before firing up php. This means that you will get sensible 404 style error messages instead of cgi errors complaining that php did not output any data.

You must start over from the previous step for each extension you want associated with PHP scripts. .php and .phtml are common, although .php3 may be required for legacy applications.

Set up the appropriate security. (This is done in Internet Service Manager), and if your NT Server uses NTFS file system, add execute rights for I_USR_ to the directory that contains php.exe.


Is this correct or is there a better way of installing PHP?



Also, does anyone know of any GOOD php forums that are easy to install once php has been installed?

Any help would be greatly appreciated and the sooner the better - i'm tearing my hair out here!!!

Thanks guys,

Adam Tate
 
It seems that you copied the instructions from php.net. Is there a better way? If there was PHP.net would list it. Can you describe your errors? There is not too much involved in installing PHP.

phpbb.com //good forum with MySQL

- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top