我想应该是你APACHE的配置问题。

解决方案 »

  1.   

    我采用的是模块安装PHP,如果是APACHE的问题一般会和哪部分有关呢?
      

  2.   

    我查看了apache的error_log提示如下:
    [notice]Apache/1.3.27(Unix) PHP/4.3.0 configured -- resuming normal operations
    [notice]Accept mutex: sysvsem (Default: sysvsem)
    不知道是什么意思?
      

  3.   

    两个文件在同一目录下啊,代码如下:
    --------------
    index.html
    <html><head>
    <meta http-equiv="Content-Language" content="zh-cn">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>post test</title>
    </head><body><form method="POST" action="test.php">
      <div align="center">
        <table border="0" width="60%" cellpadding="0">
          <tr>
            <td width="32%" bgcolor="#0066FF">
              <p align="right">E-mail:</td>
            <center>
            <td width="68%" bgcolor="#6699FF"><input type="text" name="email" size="30"></td>
            </tr>
          </center>
          <tr>
            <td width="32%" bgcolor="#0066FF">
              <p align="right">密码:</td>
            <td width="68%" bgcolor="#6699FF"><input type="password" name="password" size="20"></td>
          </tr>
          <tr>
            <td width="100%" colspan="2">
              <p align="center"><input type="submit" value="提交" name="submit">&nbsp;&nbsp;&nbsp;&nbsp;  
              <input type="reset" value="重置" name="reset"></td>
          </tr>
          <center>
          </table>
        </center>
      </div>
    </form></body></html>
    -------------
    test.php
    <?php
    $email=$_POST["email"];
    $passwd=$_POST["password"];
    echo "your email is $email <br>";
    echo "your password is $passwd <br>";
    ?>
      

  4.   

    问题解决了,发现在/etc/init.d/和/etc/rc.d/init.d/下各有一个httpd,删除后重起apache就好了,给分啦