setting up FastCGI on IIS (SBS2003 version) - simple PHP scripts produce errors

I want to get PHP scripts working thru' our IIS webserver on SBS2003 (which is IIS 6.0 I believe - though this from hearsay, as the MMC interface to IIS doens't seem to give any version info for IIS)

I installed PHP and got simple scripts working from the command line (strewth!).

I installed FastCGI from
http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/
and followed all the steps

When I tried to surf to the following noddy PHP script:

<?php
    echo("A simple but effective PHP test!");
?>

My browser (IE) returned the following:

FastCGI Error
The FastCGI Handler was unable to process the request.
--------------------------------------------------------------------------------
Error Details:
The FastCGI process exited unexpectedly
Error Number: -1073741819 (0xc0000005).
Error Description: Unknown Error
HTTP Error 500 - Server Error.
Internet Information Services (IIS)

I am able to browse to simple *.htm pages in the same folder, just not able to run any *.php !

any ideas, or further info, pls don't hesitate
zorba111Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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

Beverley PortlockCommented:
This seems to be a known bug. The advice I came across said

"Look for a file called fcgiext.dll.  This is the FastCGI handler runtime.  If you have any instances dated prior to 10/25/2007,  go to http://www.iis.net/default.aspx?tabid=1000057 and get the most current version to replace all instances on your machine."

Hope that helps.
zorba111Author Commented:
It turned out that the default php.ini file (that got created by the install process for the latest version of PHP for windows) was JAM PACKED with extensions (over 100 !)

I went thru' and pruned it down to about a dozen of the ones I knew or was pretty sure I needed, and hey presto, it worked !!

Either all the extensions loading into PHP was making the process too cumbersome to run, or one or more extensions were failing to load!

moral of the story - check php.ini, even the default ones installed by installer!

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
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
Scripting Languages

From novice to tech pro — start learning today.