404.17 – Not Found

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

…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.

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

基本原因就是IIS是64位和PHP不能运行.需要在应用程序池中把相应的程序池的高级属性中设置兼容32位.

打开应用程序池,选中后点右键–高级设置,将“启动32位应用程序”改为“true”

你可能感兴趣的:(PHP,IIS)