解决iis6.0 FastCGI错误 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.FastCGI处理程序无法处理请求
search后:
php-5.3.3-vc9是用vc2008编译的,缺少cv++运行库,下载安装即可:
给个地址方便下载: http://xiazai.xiazaiba.com/Soft/V/vcredist2008_SP1_x86_XiaZAiBa.zip 地址二:http://www.microsoft.com/zh-CN/download/details.aspx?id=29
PS:
解压包的前提要安装vc++2008运行库否则会出错,见blog
php.ini 配置:
fastcgi.impersonate = 1 把前面的;去掉
其它根普通配置一样
c:\windows\system32\inetsrv下有五个文件,其中有用的 是:fcgtext.dll(处理php映射),fcgitext.ini(FastCGI的配置文件)
打开FASTCGI配置文件fcgitext.ini,在最后修改为:
php=PHP
exepath=c:\Php\php-cgi.exe
不配置fsgitext.ini出错信息:
FastCGI Error
The FastCGI Handler was unable to process the request.
--------------------------------------------------------------------------------
Error Details:
Could not find entry for "php" on site 66 in section.
Error Number: 1413 (0x80070585).
页:
[1]