老大些。。在WIN2K下如何配置php+apache啊!!在线等待!!发分了
raoqn 2002-07-23 03:19:34 我本来是用JSP+TOMCAT+MYSQL的,突然项目变动要用PHP+APACHE+MYSQL(气啊)
所以不得又架PHP..我自己喜欢在linux底下搞这些,很方便,但是回到2K下,真的不爽啊,我把php下的php.ini,php.exe,php4ts.dll都拷到了winnt/system32下。
我在httpd.conf中加入了:
ScriptAlias /php4/ "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 "c:/php/php.exe"
DirectoryIndex index.html
DirectoryIndex index.htm
DirectoryIndex index.php
DirectoryIndex index.php3
DirectoryIndex index.php4
Alias /51findlove/ "c:/51/"
不知道对不对,但是只要加上LoadModule php4_module c:\php\sapi\php4apache2.dll,apache就启动不了,那个php4apache2.dll我改成
php4apache.dll也不行。请问是什么原因呢?