当前位置:编程问答 > php >

iis6.0 FastCGI错误0x80070585 The FastCGI Handler was unable to process the request.

今天在03下的iis6.0配置php-5.3.3 都知道此版本以不支持ISAPI方式,只能用FastCGI

环境基本配置好后,测试页,提示如下错误:

The FastCGI Handler was unable to process the request.


Error Details:

Could not find entry for "php" on site 66 in [Types] section.
Error Number: 1413 (0x80070585).


search后:

php-5.3.3-vc9是用vc2008编译的,缺少cv++运行库,下载安装即可:

PS:http://www.zhaoxi.net/

解压包的前提要安装vc++2008运行库否则会出错,见blog
php.ini 配置:
fastcgi.impersonate = 1 把前面的;去掉
其它根普通配置一样

c:\windows\system32\inetsrv下有五个文件,其中有用的 是:fcgtext.dll(处理php映射),fcgitext.ini(FastCGI的配置文件)
打开FASTCGI配置文件fcgitext.ini,在最后[Types]修改为:

[Types]
php=PHP
[PHP]
exepath=c:\Php\php-cgi.exe

不配置fsgitext.ini出错信息:
FastCGI Error
The FastCGI Handler was unable to process the request.
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,