来自:www.jaxp.net
win2000下php4.2.1、mysql-3.23.51-win的安装mysql的安装 将文件解压到c:/mysql 
运行c:/mysql/bin/mysqld-nt.exe --install将mysql安装为service 
运行c:/mysql/bin/winmysqladmin 并设置用户名和密码 php的安装 To use the ISAPI module, do the following: If you don't want to perform HTTP Authentication using PHP, 
you can (and should) skip this step. Under ISAPI Filters, 
add a new ISAPI filter. Use PHP as the filter name, and 
supply a path to the php4isapi.dll. Under 'Home Directory', click on the 'Configuration' button. 
Add a new entry to the Application Mappings. Use the path 
to the php4isapi.dll as the Executable, supply .php as the 
extension, leave Method exclusions blank, and check the 
Script engine checkbox. 需要将php根目录下的php4ts.dll拷贝到c:/winnt/system32下面 
需要将php根目录下的php.ini-dist拷贝到c:/winnt/下,并改名为php.ini 
很多时候还需要将php.ini文件中的 register_globals = On; 
(解释:;You should do your best to write your scripts so that they do not require 
; register_globals to be on; Using form variables as globals can easily lead 
; to possible security problems, if the code is not very well thought of.) Stop IIS completely (net stop iisadmin) 
Start IIS again (net start w3svc)