My php4 and MySQL packages are php-4.0.1pl2-win32.zip, Mysql-3.23.19-beta-win.zip.
Install MySQL first, use winzip8.0 to open the package for full installation, the default installation path is: C:mysql;
When the installation is complete, open "run" in the Start button, enter the command: C:mysqlinmysqld-nt.exe--install, and execute;
Open the "Start" button under "program" = "" governance Tool "=" "service", find the "MySQL" service, start it;
At this point, the MySQL installation is complete, restart win2000adanced server. You can also open C:mysqlinwinmysqladmin.exe, the first time you use it, you need to set up the administrator name and password, I set to root and (YourPassword) respectively. When you close it, the program automatically creates a small "traffic light" icon under the status line.
Now start installing PHP4, unpack the package with WinZip to C:PHP4, and then copy all DLL files under the directory to C;winntsystem32 and do not overwrite existing DLL files , then Php.exe and php.ini-dist two files under the catalogue to c:winnt;
Rename the c:winntphp.ini-dist to PHP.ini, and open it, find it; Windows Extensions, remove the Extension=php_calendar.dll, Extension=php_zlib.dll, Extension=php_ldap.dll before ";" and close the file.
Open the Programs => "Governance tools" => "Internet Service Manager" under the Start button, select Default Web site, and open its Properties window. Under the Web Site page, change the IP address: "All Unassigned" (your IP address, for example, 202.195.243.131), and TCP port is "80".
Next, select the Home Directory page, after clicking the Configure button under Application settings, click the Add button under the New window, enter C:winntphp.exe%s%s in the executable file, enter ". php" in the extension, and click OK.
Next, select the ISAPI filter page, click the Add button, enter "PHP" in the filter name, enter "C:winntsystem32php4isapi.dll" in the executable, and click OK.
Next, select the Documents page, click the Add button, enter "index.php" in the default document name, click OK, and raise it to the highest level. You can also add commonly used PHP file names, such as "default.phtml", "index.php3" and so on.
When all windows are closed and the system is restarted, ie browser can be opened for testing.