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:
Install the CGI Role
Downloaded PHP 5.3 VC9 x86 Non Thread Safe and extracted it to C:\PHP
Renamed php-info-production.ini to php-info.ini
Amended php-info.ini as per this article: http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-7/
Created the handler mappings in IIS
Added a new default document to support index.php