回wubai250(wubai) :   没用啊,我用了默认的安装路径:   C:\Program Files\Apache Group
   发现最终的安装路径是:   C:\Program Files\Apache Group\Apache2   还是运行不了啊!

解决方案 »

  1.   

    ServerName http://localhost:80
    改为
    ServerName http://127.0.0.1:80如可以了则你的localhost命名未生效
      

  2.   

    安装路径:安装的时候,选择:D:\就OK了,但最好把IIS改成8080,让APACHE是80
      

  3.   

    你那个ServerName http://127.0.0.1:80 不需要加那个http://吧
    还有就是如果是80端口被占用了,你可以找到那个Listen,然后加上
    listen 127.0.0.1:4000(我这里设置的是4000端口) ,然后找到
    #NameVirtualHost 
    在下面加上
    <VirtualHost 1270.0.1:4000>
            ServerAdmin [email protected]
            DocumentRoot "你的这个站点的路径"
            ServerName hostname
            DirectoryIndex index.htm index.php
            ErrorLog logs/www.xjrcw.com-error_log
            CustomLog logs/www.xjrcw.com_log common
    </VirtualHost>
    就可以了阿
      

  4.   

    server name localhost
    bindaddress 127.0.0.1
    port 要和你的iis不同
    最好的是把iis 给停了!!!
      

  5.   

    No installed service named "Apache2".
    说明是Apache2服务没起来
    运行D:\apache\Apache2\apache -k install
      

  6.   

    我也是在配制APACHE+PHP的时候出现这个错误提示!!!
      

  7.   

    1.#BindAddress * 改为 BindAddress 127.0.0.1 
      #Servername new.host.name 改为 Servername localhost 
    2.让你的APACHE来支持PHP4. 加上下面这么几句: 
      --ScriptAlias /php4/ "C:/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" 
      

  8.   

    3.增加默认启动文档: 
      DirectoryIndex index.html 
      DirectoryIndex index.htm 
      DirectoryIndex index.php 
      DirectoryIndex index.php3 
      DirectoryIndex index.php4 
      

  9.   

    二、php4安装(php-4.0.2pl2-Win32.zip) 
    1. 将软件包解压到c:\php4下。 (php安装目录可以随便,不过最好把目录名字改为php4)
    2. 再将目录下的所有dll文件拷到c;\winnt\system32下,不要覆盖已有的dll文件。将目录下的php.exe和php.ini-dist两个文件拷到c:\winnt下;