HTTP Error 500.0 - Internal Server Error

I've been trying for a couple of days to get PHP working on my IIS 7 webserver. Windows 2008 Standard R2 SP1. I follow the instructions on downloading the non-thread safe zip and unpacked to C:\PHP
 - copied the php-production file to C:\Windows\php.ini
 - I did the following:
              Uncomment and set the key, cgi.force_redirect = 0
              Uncomment the key, fastcgi.impersonate = 1
              Uncomment and set the key, extension_dir to the ‘ext’ folder in the path PHP was             extracted to (i.e. ‘C:PHPext’).
               Set the key, date.timezone to the time zone of your server (the URL on the line above this key lists the accepted values).          
 - I added the application in FasCGI Settings
 - I a added the handler in Handler Mapping
 - I created phpinfo.php in ...inetpub\wwwroot and inserted the following code:
<?php phpinfo(): ?>


I tried to test in the browser by going to http://localhost/phpinfo.php

The instructions I used to set it all up are from the link below:
http://www.howtogeek.com/50432/how-to-install-php-on-iis-7-for-windows-server-2008/
 
I have attached a copy of the php.ini file for review if it helps.

The problem I'm encountering is below:

HTTP Error 500.0 - Internal Server Error
C:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly
Detailed Error Information
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP
Error Code 0xc0000135
Requested URL http://localhost:80/phpinfo.php 
Physical Path C:\inetpub\wwwroot\phpinfo.php
Logon Method Anonymous
Logon User Anonymous


Can anyone help me figure out what I'm doing wrong?
php.ini
dzacharczyk1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
I would suggest that you dump that and use the Microsoft Web Installer for PHP.  It has worked quite well for a number of people that had trouble with other methods.  http://www.microsoft.com/web/platform/phponwindows.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
0
dzacharczyk1Author Commented:
Thank you for your help. I was able to download the windows installer and it's working now.

Regards,
David Z
0
Dave BaldwinFixer of ProblemsCommented:
You're welcome, glad to help.
0
symigeekCommented:
If anyone ever wants to fix this without using the MS installed, you can fix it by installing the VS C++ 2012 Redistributable.  You have to download the x86 version (unless you installed x64 PHP which as of this writing was considered "experimental").  

Go here: http://www.microsoft.com/en-us/download/details.aspx?id=30679
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.