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

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

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

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

 

引用:http://www.hanselman.com/blog/HTTPError40417PHPOnIIS7Under64bitVista.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+ScottHanselman+(Scott+Hanselman+-+ComputerZen.com)

文章標籤
全站熱搜
創作者介紹
創作者 Empty 的頭像
Empty

虎搞瞎搞

Empty 發表在 痞客邦 留言(0) 人氣(87)