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

Posted on 2008-11-10
Medium Priority
Last Modified: 2013-12-25
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
and followed all the steps

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

    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
Question by:zorba111
LVL 34

Assisted Solution

by:Beverley Portlock
Beverley Portlock earned 2000 total points
ID: 22924782
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.

Accepted Solution

zorba111 earned 0 total points
ID: 23042314
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!

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
This article discusses how to implement server side field validation and display customized error messages to the client.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses
Course of the Month14 days, 22 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question