刚刚按着
http://bbs.1010china.com/thread-496-1-1.html
中所提到的方法安装了一遍php 5.3.1
但是反复报错,浏览php页面就会报错,即使只有“hello world”:
timezone里面的shanghai
还有extension_dir 也已经改为了"D:\program files\php\exe"
FastCGI Error
The FastCGI Handler was unable to process the request. 
--------------------------------------------------------------------------------Error Details:•The FastCGI process exited unexpectedly
•Error Number: -2147467259 (0x80004005).
•Error Description: Î´Ö¸¶¨µÄ´íÎó 
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
重新启动机子,iis自动上报错误信息内容为 offset:00001cf9

解决方案 »

  1.   

    打开目录:C:\WINDOWS\system32\inetsrv下的fcgiext.ini配置文件
    在文件内容最后加上如下代码:
    [Types]
    php=PHP
    [PHP]
    ExePath=C:\Program Files\PHP\php-cgi.exe (这里是PHP默认安装的路径) 之后再打开php.ini配置文件
    找到:fastcgi.impersonate = 1;这句,把前面的;去掉.
      

  2.   

    记得重启IIS,和确定php.ini配置文件所在的位置是不是被使用的这个。
      

  3.   

    还有extension_dir 也已经改为了"D:\program files\php\exe" --》还有extension_dir 也已经改为了"D:\program files\php\ext" 
      

  4.   

    FastCGI超时,打开C:\WINDOWS\system32\inetsrv\fcgiext.ini,添加或修改以下内容[Types]
    php=PHP[PHP]
    ExePath=C:\PHP\php-cgi.exe
    InstanceMaxRequests=10000
    EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
    RequestTimeout=500
    ActivityTimeout=900
      

  5.   

    在php-cgi.exe同目录创建php-cgi-fcgi.ini
    这个才是真正的配置文件
      

  6.   

    我换了一个低版本的……换ISAPI绑定了