啊 对了 操作系统是 番茄花园的XP 没装IIS 

解决方案 »

  1.   

    http://hi.baidu.com/xiaolei1982/blog/item/043d3ad1c03d2cd6562c84d0.html
    卸载后按照这个重新安装,这个是正确的,如果还有错误再提出来
      

  2.   

    oadModule php5_module “D:/PHP/php5apache2_2.dll”
    PHPIniDir “D:/PHP这个要按环境变量的方式装
    添加环境变量,指定相关路径
      

  3.   

    我是这样加的,没有问题啊
    AddType application/x-httpd-php .php
    PHPIniDir "C:/PHP5/"
    LoadModule php5_module "C:/PHP5/php5apache2_2.dll"
      

  4.   

    那就换下版本apache最好用2.0,php用我给你的帖子上的
      

  5.   

    Windows 2003 SP2
    Apache 2.2.9
    php 5.2.6
    1. 下载并安装apache。下载php(zip文件)
    2. 将php压缩包解压到c盘根目录,并重命名为php
    3. 将php.ini-recommended重命名为php.ini,打开php.ini,找到extension_dir = "./"改为extension_dir = "c:\php\ext"
    4. httpd.conf配置:#模块方式(推荐)
    PHPIniDir "F:/HZT/Soft/PHP/"
    LoadModule php5_module "F:/HZT/Soft/PHP/php5apache2_2.dll"
    AddType application/x-httpd-php .php#CGI方式
    ScriptAlias /php/ "c:/php/"
    AddType application/x-httpd-php .php
    Action application/x-httpd-php "/php/php-cgi.exe"
      

  6.   

    我安装的php和apache的版本和楼主的一模一样,可以正常运行啊。
      

  7.   

    Apache is running a threaded MPM,but your PHP Module is not compiled to be threadsafe...这个是出现是什么问题呢?留下的问题解决后又出现了这个问题,麻烦高手指点一下,谢谢
      

  8.   

      "The only the CGI/FastCGI portion of the non-thread-safe version will   work correctly. None of the in-process modules (Apache 2, ISAPI, etc)   will function correctly, since web servers on Windows are always   multithreaded.   Not building thread-safety into the binary means better performance,   as the way it's done in PHP isn't terribly inefficient. Whether it's   worth the confusion this will create is debatable." 重新下载线程安全版本(VC6 x86 Thread Safe),     大概意思就是说,只有在CGI/FastCGI模式下non-thread-safe才会工作。模块化安装方式不起作用,windows下web server大多是多线程的。   non-thread-safe意味着更好的性能,不过差异不大,php内部就已经很高效。无论是否值得这么做,带来的困惑却有很大争议。