说明你的php没有安装好。
你可以把php直接编译到apache中去的。

解决方案 »

  1.   

    这个吧,d:/php/是我的php的路径,你看着改
    ScriptAlias /typephp/ "d:/php/"
    AddType application/x-httpd-typephp .php
    AddType application/x-httpd-typephp .php3
    AddType application/x-httpd-typephp .php4
    Action application/x-httpd-typephp "/typephp/php.exe"
      

  2.   

    给 vitty(天狼) (我的安装过程,是编译到apache中了)
    Step 9 Apache configure 
    ##这是Apache的初次配置,等到PHP安装好后才进行安装 
    cd /home/src 
    tar xvzf apa* //解包 
    cd apa* 
    ./configure //初始化 
    -------------------------------------------------------------------------------------------- 
    Step 10 Php install 
    cd .. 
    tar xvzf php* 
    cd php* 
    ./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.22 --enable-track-vars //设置PHP编译参数 
    make //编译 
    make install //安装 
    cp ./php.ini-dist /usr/local/lib/php.ini //复制配置文件到/usr/local/lib/ ##这是Apache的正式安装步骤 
    cd /home/src/apa* 
    ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a --enable-module=so //设置编译参数 
    make //编译 
    make install //安装 
      

  3.   

    给入门老兄的,我用httpd l Could not determine the server's fully qualified doamin name, using 127.0.0.1 for ServerName
    ------不知哪错了,我的IP是192.168.2.8大家快帮忙呀?我的100分都给你