[thelist] Installing PHP on win2000 (was Installing apache)

Tony Crockford tonyc at boldfish.co.uk
Sun Aug 12 10:16:07 CDT 2001


Hi

I have Apache, PHP and MySql all working happily on win2K

My secret:

download the latest versions from the appropriate web sites and follow
the installation instructions in the readme files.

I trust you did all this: (from PHP install.txt)

Apache:
1. Stop the Apache Webserver.
Edit the httpd.conf and put in these lines, modified to your environment
(this means where you put stuff!):

# for the apache module
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4

#for the cgi binary (you can use that one compiled with force cgi
redirect too)
ScriptAlias /php4/ "C:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php

2. Unzip the Package to c:\php, now move php4ts.dll to the
windows/system(32) directory, overwritte any older file!

3. Copy the php.ini-dist to your sysroot (directory where you installed
windows), rename it to php.ini, and
edit the php.ini to fit your needs.

4. Restart the Apache server.

I'd be happy to help, but need to know exactly where you are in the
process, contact me off list if you like.

hth

Tony





More information about the thelist mailing list