Apache Http://www.php.net/do_download.php?download_file=php-4.0.5-Win32.zip&source_site=www.php.net
4. MySQL 3.23.38 (Mysql-3.23.38-win.zip)
Http://www.mysql.com/Downloads/MySQL-3.23/mysql-3.23.38-win.zip
Second, the installation process
1. Install Apache 1.3.19 into the C:\Web\apache\ directory.
2. Extract the PHP 4.0.5 into the C:\Web\php\ directory.
3. Install the MySQL 3.23.38 to the C:\Web\mysql\ directory.
4. Copy the C:\web\php\php4ts.dll file to the C:\WINNT\system32\ directory.
5. Copy the C:\web\php\php.exel file to the C:\WINNT\ directory.
6. Copy the C:\web\php\php.ini-dist file to the C:\WINNT\ directory and rename Php.ini-dist to PHP.ini.
7. Run C:\web\apache\apache\apache.exe-i–n
8. Run C:\Web\mysql\bin\mysqld-nt.exe--install
9. Editor C:\WINNT\php.ini
Locate the "Extension_dir =./" field and change it to Extension_dir = "C:\myphp\php\extensions".
10. Run C:\web\apache\apache\apache.exe-i–n
11. Editor C:\Web\apache\Apache\conf\httpd.conf
Find "#BindAddress *" field
Change it to bindaddress 127.0.0.1. (If the host has a fixed IP address, this changes to the host IP address.) such as Bindaddress 211.101.152.106), locate the "ServerName" field and change it to ServerName localhost. (If the host has a fixed hostname, this is the host name.) such as ServerName bn001).
Locate the "scriptalias/cgi-bin/" c:/web/apache/apache/cgi-bin/field and add scriptalias/php/"c:/web/php/" below it. Find the "# and for PHP 4.x, use:" field, after which you add:
AddType application/x-httpd-php. php3
AddType application/x-httpd-php. PhP4
AddType application/x-httpd-php. php
AddType application/x-httpd-php. phtml
Action application/x-httpd-php "C:/web/php/php.exe"
Locate the "#LoadModule usertrack_module modules/mod_usertrack.so" field, LoadModule php4_module C:/web/php/sapi/php4apache.dll