My php4 and mysql software packages are php-4.0.1pl2-Win32.zip, mysql-3.23.19-beta-win.zip.
1. Install mysql first, open the software package with winzip8.0 for complete installation. The default installation path is: c:mysql; 2. After the installation is completed, open "Run" in the "Start" button and enter Command: C:mysql inmysqld-nt.exe --install, and execute;
3. Open "Programs" under the "Start" button => "Management Tools" => "Services" and find the "mysql" service , start it;
4. At this point, the mysql installation is completed, restart win2000adanced server. You can also open C:mysql inwinmysqladmin.exe. When you use it for the first time, you need to create an administrator name and password. I set them to root and (yourpassword) respectively. After closing it, the program automatically creates a small "traffic light" icon under the status line.
5. Now start installing php4. Use winzip to unzip the software package to c:php4, then copy all the dll files in the directory to c:winntsystem32. Do not overwrite the existing dll files; then copy the existing dll files in the directory Copy the two files php.exe and php.ini-dist to c:winnt;
6. Rename c:winntphp.ini-dist to php.ini, open it and find; Windows Extensions, change
extension=php_calendar.dll
extension=php_zlib.dll
extension=php_ldap.dll
Remove the ";" in front of it and close the file.
7. Open "Programs" under the "Start" button => "Administrative Tools" => "Internet Service Manager", select "Default Web Site", and open its "Properties" window. Under the "website" page, change "IP Address": "All Unallocated" to "(your machine's IP address, for example: 202.195.243.131)"; "TCP Port" to "80".
8. Next, select the "Home Directory" page, click the "Configure" button under "Application Settings", click the "Add" button in the new window; enter "C" in "Executable File" :WINNTphp.exe %s %s", enter ".php" in "Extension", and click "OK".