先安装apache,安装目录为:c:/apache 配置conf目录下的httpd.conf文件. #Servername new.host.name改为 Servername localhost 并在这个文件尾加这一段: ScrIPtAlias /php/ "C:/php/" AddType application/x-httpd-php4 .php AddType application/x-httpd-php4 .php3 AddType application/x-httpd-php4 .php4 Action application/x-httpd-php4 "/php/php.exe" DirectoryIndex index.html DirectoryIndex index.htm DirectoryIndex index.php DirectoryIndex index.php3 DirectoryIndex index.php4 开始-运行:c:/apache/apache -i net start apache 在浏览器中输入http://localhost/
第二、装php 将php解压到c:/php目录 再将c:/php/PHP4.0ts.dll文件拷到c;winntsystem32下,不要覆盖已有的dll文件。将目录下的php.exe和php.ini-dist两个文件拷到c:winnt下; 将winntphp.ini-dist改名为php.ini
第三步、装mysql
|