I'm trying to install PHP on my Windows Server 2008 R2 (Datacenter Edition) server and have ran into a couple of issues. When I run "C:\PHP> php -info" I get this error:

"The application has failed to start because its side-by-side configuration is in correct. Please see the application event log or use the command-line sxstrace.exe tool for more detail."

When I browse to http://localhost/phpinfo.php, I get a 500 - Internal Server Error

I've done the following:

  1. Install the CGI Role

  2. Downloaded PHP 5.3 VC9 x86 Non Thread Safe and extracted it to C:\PHP

  3. Renamed php-info-production.ini to php-info.ini

  4. Amended php-info.ini as per this article: http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-7/

  5. Created the handler mappings in IIS

  6. Added a new default document to support index.php

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.