刚刚按着
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
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
在文件内容最后加上如下代码:
[Types]
php=PHP
[PHP]
ExePath=C:\Program Files\PHP\php-cgi.exe (这里是PHP默认安装的路径) 之后再打开php.ini配置文件
找到:fastcgi.impersonate = 1;这句,把前面的;去掉.
php=PHP[PHP]
ExePath=C:\PHP\php-cgi.exe
InstanceMaxRequests=10000
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
RequestTimeout=500
ActivityTimeout=900
这个才是真正的配置文件