我的apache是今天新下的2.2版的有谁和我一样,以前好象没有这种低级的问题啊!!

解决方案 »

  1.   

    命令行下用
    apache -t 查看一下运行结果.
    一般来说是模块没有正确加载导致的.
      

  2.   

    大哥,谢谢,我先试试
    http://www.apachelounge.com/forum/viewtopic.php?p=405&sid=de6bd7ea4de69ef8e62bf2f438efc4f3
    有个贴子,是不是和我的毛病一样,英语的不行!
      

  3.   

    C:\Apache2\bin>httpd -e debug
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module actions_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module alias_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module asis_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module auth_basic_modul
    e
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module authn_default_mo
    dule
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module authn_file_modul
    e
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module authz_default_mo
    dule
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module authz_groupfile_
    module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module authz_host_modul
    e
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module authz_user_modul
    e
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module autoindex_module[Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module cgi_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module dir_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module env_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module imagemap_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module include_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module isapi_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module log_config_modul
    e
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module mime_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module negotiation_modu
    le
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module setenvif_module
    [Mon May 08 16:59:25 2006] [debug] mod_so.c(246): loaded module userdir_module
    httpd: Syntax error on line 115 of C:/Apache2/conf/httpd.conf: Cannot load C:/Ap
    ache2/php5/php5apache2.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8
    \xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3
    httpd -e debug 最后一句,不就是说C:/Ap
    ache2/php5/php5apache2.dll不能加载吗???
    可明明在那儿啊!
      

  4.   

    很高兴看到apache2又出现了问题
    也很欣赏你的勇敢精神为什么这样说呢?是因为想攻破微软的防线的确是很不容易的一件事情尝试注释掉
    PHPIniDir "C:/Apache2/php5"尝试改用cgi方式
      

  5.   

    PHPIniDir "C:/Apache2/php5"
    早上,试过了不行,因为115句就通不过了!
    是不是只能用2.0了!?尝试改用cgi方式,怎么用??
      

  6.   

    看php的安装文件ScriptAlias /php/ "c:/Apache2/php5/"
    AddType application/x-httpd-php .php# For PHP 5
    Action application/x-httpd-php "/php/php-cgi.exe"
      

  7.   

    有没有这个?
    LoadFile "C:/PHP/php5ts.dll"