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?
 
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!
0
 
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.