应该是你的httpd.conf配置出错,你可以看看c:\apache2\logs\error.log,可以找出一定的提示信息!

解决方案 »

  1.   

    安装APACHE 目前安装版本2.0.43 
    配置conf目录下的httpd.conf文件 #安装apache模块方式添加: 
    LoadModule php4_module c:/php/sapi/php4apache2.dll 
    AddType application/x-httpd-php .php 
    AddType application/x-httpd-php .php3 
    #Alias /www/ "C:/Documents and Settings/Administrator/www/" (虚拟目录,自定义) #安装cgi方式添加: 
    ScriptAlias /php/ "c:/php/" 
    AddType application/x-httpd-php4 .php 
    AddType application/x-httpd-php4 .php3 
    Action application/x-httpd-php4 "/php/php.exe" #增加默认启动文档: 
    DirectoryIndex index.html增加为: 
    DirectoryIndex index.html index.htm index.php index.php3 #让apache2默认中文显示 
    #添加: 
    AddLanguage zh-cn .cn 
    DefaultLanguage zh-cn 
    #修改: 
    AddDefaultCharset ISO-8859-1 ---> AddDefaultCharset GB2312 
    ########################################### 测试文件info.php: <? 
    phpinfo() 
    ?> 在浏览器中输入http://localhost/info.php 
      

  2.   

    Apache在windows下最好别用虚拟主机项.
      

  3.   

    没有这个文件c:\apache2\logs\error.log
    只有access和install这两个txt文件。
    我做了一个error.txt文件放在这个目录下了