HTTP错误404.17-64位Vista下IIS7上PHP

If you're getting...

如果你得到...

"HTTP Error 404.17 - Not Found - The requested content appears to be script and will not be served by the static file handler."

“ HTTP错误404.17-找不到-请求的内容似乎是脚本,并且不会由静态文件处理程序提供。”

...on Vista while trying to get PHP working under IIS7 with the standard ISAPI "php5isapi.dll" ask yourself, are you running 64-bit? That ISAPI DLL is a 32-bit DLL, so you'll have to either change your default Application Pool to enable 32-bit, or preferably create a separate 32-bit AppPool for your PHP Application.

...在Vista上,同时尝试使PHP在IIS7下使用标准ISAPI“ php5isapi.dll”运行时,问自己,您是否在运行64位? 该ISAPI DLL是32位DLL,因此您必须更改默认的应用程序池以启用32位,或者最好为您PHP应用程序创建一个单独的32位AppPool。

Right click on the Application Pool and select "Advanced Settings" then "Enable 32-bit Applications."

右键单击“应用程序池”,然后选择“高级设置”,然后选择“启用32位应用程序”。

At this point, you're all set with the standard ISAPI PHP stuff. 

至此,您已经设置了标准的ISAPI PHP东西。

Even better, consider using the FastCGI for IIS component. I'll do a screencast on that soon.

更好的是,考虑使用FastCGI for IIS组件。 我将尽快对此进行截屏。

翻译自: https://www.hanselman.com/blog/http-error-40417-php-on-iis7-under-64bit-vista

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值