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

Posted on 2008-11-10
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
    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 and get the most current version to replace all instances on your machine."

    Hope that helps.

    Accepted Solution

    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

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    730 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now