I was told to create this document on how to install PHP4 on a Windows 2000 server machine for the not so bright
People in the company and I though that I would share.
 
Any mods welcome :)
 
Niel Zeeman
 
 
 
Installation Procedures for PHP4 on a Windows2K server

1)Copy the PHP files to a directory ( preferably a dos compatible named directory) on 
the server.

2)Copy the "php4ts.dll" to the \winnt\system32 directory.

3)If Interbase support in required and Interbase itself is not installed on the server 
copy the "gds32.dll" file that resides in the "dlls" directory of you PHP installation 
to the \winnt\system32.
3.1) Modify the php.ini file and set the "extension_dir" to the folder containing the 
extensions (e.g. extension_dir = C:\php\extensions ).
3.2) Uncomment the "extension=php_interbase.dll" line in the php.ini file.

4)Copy the php.ini to the winnt directory.

5)Open up the "Internet Services Manager"  under "Administrative Tools" on the start 
up menu.

6)Open up the "server name" to reveal the servers that are running.

7)Stop the "Default Web Site" server.

8)Right click on it and go to properties.

9)Under the "Default Web Site Properties" dialog select the "ISAPI Filters" Tab.

10)Click "Add" to add a new filter. 

11)In the "Filter Name" field enter "PHP" and in the "Executable" field use the 
"Browse" button to navigate to the "sapi" directory under the php installation and 
select the "php4isapi.dll" file.

12)Click "Apply" and "OK" on the "Filter Properties" dialog and click "Apply"  on the 
"Default Web Site Properties" dialog.

13)Next Click on the "Home Directory" tab and click the "Configuration" button to open 
up the "Application Configuration" dialog.

14)Click the "Add" button to add a new "Application Mapping".

15)On the "Add/Edit Application Extension Mapping" dialog click the "Browse" button, 
and navigate to the "php4isapi.dll" file as before.

16)Next enter the extension that you are going to use ( ".php" ).

17)Make sure that the "Script Engine" is ticket, and leave the rest as is.

18)Click "OK" and the "Apply" and "Close" on the "Application Configuration" dialog 
and then click "Apply" and "Close" on the "Default Web Site Properties" dialog as well.

19)Start the "Default Web Site" server again and you should have PHP installed and 
running. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to