将监听设置(#Listen 12.34.56.78:80)关掉,绑定好自己的ip地址或者是127.0.0.1(BindAddress 127.0.0.1),设置端口为Port 80,还要配置好本地的调试目录DocumentRoot
及调试文件扩展目录
<IfModule mod_dir.c>
    DirectoryIndex index.php
    DirectoryIndex index.php3
    DirectoryIndex index.php4
    DirectoryIndex index.shtml
    DirectoryIndex index.html
    DirectoryIndex index.htm
</IfModule>
如果还有什么问题的话,请说明清楚出错现象。

解决方案 »

  1.   

    本来就是关掉的,DocumentRoot "/apache/htdocs"改为了 "e:/page/"我的网页都在page下面。<IfModule mod_dir.c>
        DirectoryIndex index.html
        DirectoryIndex index.htm
        DirectoryIndex index.php
        DirectoryIndex index.php3
        DirectoryIndex default.html
        DirectoryIndex default.htm</IfModule>
    这是我的上面的。htm的可以看到,就是php的不能看到。
      

  2.   

    执行start apache,出现错误说Could not determine the server's fully qualified domain name , using 127.0.0.1 for servername而ie中还是和以前说的一样
      

  3.   

    它不是让你 using 127.0.0.1 for servername 吗?
    试试
      

  4.   

    可是我已经用了啊,BindAddress 127.0.0.1
    ServerName localhost
      

  5.   

    好了,我改好了,不过不是你们说的那些地方,不过还是要谢谢你们的。但是在执行php.ext是会说php_oci8.dll找不到,为什么可是在extion中明明有啊,而且ie中也没法看php的网页。
      

  6.   

    你把windows下的php.ini换为你覆盖之后的php.ini
      

  7.   

    我也遇到了这样的问题,我以前用ASP,可现在工作需要我用PHP,我的环境win98+apache+mysql
    可我的APACHE启动,显示apache/1.3.2(win32)running...
    IE中可以浏览../htdocs下的*.htm文件,但不能看见*.php,我急啊,忘高手指点!感激!!!(小婷能帮帮我吗?)
    [email protected]
      

  8.   

    看看你的php4目录下是不是还有一个php.ini文件,如果有的话,将这个文件删除掉,只保留c:\windows\的那个就可以了。我曾经也遇到过两个文件同时存在是会出问题的。