PHP via FastCGI on IIS 7.5
Hello,
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
September 6th, 2011 11:07pm
Fixed it!
I forgot to mention that I had installed the Microsoft Visual C++ 2008 Redistributable Package (x64) but it seems as though I was meant to install the x86 version instead.
Free Windows Admin Tool Kit Click here and download it now
September 7th, 2011 12:53am


