还是不行,html文件可以,但PHP就错误: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.--------------------------------------------------------------------------------Apache/1.3.24 Server at 108.108.99.66 Port 80
ScriptAlias /php4/ "D:/php4/" AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
//最后一行
Action application/x-httpd-php4 "d:/php4/php.exe"
//你注意到最后没有:"d:/php4/php.exe"
改为:
Action application/x-httpd-php4 "/php4/php.exe"
就OK了!!!
给分吧!!我的分太低了我要需要提问的分,谢谢合作
有问题找我,最好是把你文章的ID也一起给我!!!
你知道:ScriptAlias /php4/ "D:/php4/"的意思吗??
如果你知道的话就应该知道你的最后一行不要加d了
应该可以了吧?
Action application/x-httpd-php4 "php.exe"
改为:
Action application/x-httpd-php4 "/php4/php.exe"
编程要细心!!!切忌
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
Action application/x-httpd-php4 "/php4/php.exe"
这样就行了?还有BindAddress和Servername应该怎么设置?
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.--------------------------------------------------------------------------------Apache/1.3.24 Server at 108.108.99.66 Port 80
ScriptAlias /php4/ "D:/php4/"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
Action application/x-httpd-php4 "/php4/php.exe"
即可,如果目录有改动自己酌情修改,
你最近是不是升级到了新版的PHP?
请问你把新的php4ts.dll复制到system32下了吗?....我上次出了一次错,就是因为这个了.
或者你就按我写的装一遍吧.(我帖在你另一帖了)
你的httpd.conf文件里加上这样一句话
LoadModule php4_module c:\php\php4apache.dll
然后在system32中加入php4apache.dll动态库,同时根换你的php.exe文件
你的问题完全是版本的问题,建议你多到php.net上去下载相关的资料和动态库文件