第一个问题是apache的问题我开启服务后 大约半个分钟左右  apache就自动停止服务 不知道怎么回事;error.log记录我看不太明白:
[Thu Oct 29 15:40:30 2009] [notice] Apache/2.2.9 (Win32) configured -- resuming normal operations
[Thu Oct 29 15:40:30 2009] [notice] Server built: Jun 13 2008 04:04:59
[Thu Oct 29 15:40:31 2009] [notice] Parent: Created child process 2288
[Thu Oct 29 15:40:32 2009] [notice] Child 2288: Child process is running
[Thu Oct 29 15:40:32 2009] [notice] Child 2288: Acquired the start mutex.
[Thu Oct 29 15:40:32 2009] [notice] Child 2288: Starting 64 worker threads.
[Thu Oct 29 15:40:32 2009] [notice] Child 2288: Starting thread to listen on port 80.
[Thu Oct 29 15:41:27 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Oct 29 15:41:27 2009] [notice] Child 2288: Exit event signaled. Child process is ending.
[Thu Oct 29 15:41:28 2009] [notice] Child 2288: Released the start mutex
[Thu Oct 29 15:41:29 2009] [notice] Child 2288: All worker threads have exited.
[Thu Oct 29 15:41:29 2009] [notice] Child 2288: Child process is exiting
[Thu Oct 29 15:41:29 2009] [notice] Parent: Child process exited successfully.
还有就是,测试php页面的时候
只是<?php 
phpinfo();
?>
这样一句最简单的句子而已 但是在浏览器上运行 他让我下载文件 不知道怎么回事 请高手帮帮忙 !~
在线等待;

解决方案 »

  1.   

    你没有将你的php文件放在apache的www文件夹下。
    提示下载。
      

  2.   

    我装的apache没有www的文件夹  我直接把php放在apache文件夹里面的php(自己建的)文件包了 
      

  3.   

    不知道你的apache是怎么安装的。是那个套件包?我一般用wamp 2.0i。推荐你也用下。
      

  4.   

    LoadModule php5_module "D:/PHP/php5apache2_2.dll"
    AddType application/x-httpd-php .php
    PHPIniDir "D:/PHP"在httpd.conf的最后一行加上。
      

  5.   

    谢谢各位  我卸载了所有的php 打算找片文章重新来过