Configuring fcgi or fastcgi mods with Apache 2.2 (WAMP server)

Posted on 2014-08-14
Last Modified: 2014-09-04
I’m running a WAMP environment consisting of Windows 2008 server R2 with Apache 2.2 openSSL 0.9 and PHP 5.3.5. All is running ok. Due to performance issues with loading some large web pages, I have read that configuring Apache with either fcgi or fastcgi will somewhat provide performance improvements. The problem is that I’m having trouble configuring Apache 2.2 with either FCGI or FastCGI mod. Please note - I’m not ofay with Apache (I’m from a .net background) …

I’ve added in the httpd.conf a reference to “LoadModule  fcgid_module modules/”

When I restart the Apache service, it doesn’t start and only commenting out the above line it then restarts fine. There is a Mod_fcgi_so file in the Apache/modules folder. This file was not part of the Apache2.2 install but was downloaded from another site. Obviously Apache doesn’t like this file….

So plan B -  I’ve downloaded mod_fcgid-2.3.9 from Apachelounge. The download consists of many folders and files and there is no clear documentation of where to copy the files to under the Apache folder on the WAMP server. I can’t even locate the Mod_fcgi_so file..

My  queries are:

1)      With regards to the reference in httpd.conf file: LoadModule  fcgid_module modules/  - where do I get this file from?
2)      What files do I need from the downloaded mod_fcgid-2.3.9 file and where do I copy them to under the Apache folder?
3)      Ultimately… how the hell do I get either fcgi or fastcgi integrated as seamlessly and painlessly as possible?!?

Any advice will be greatly appreciated!
Question by:Seven0fNine
    LVL 82

    Assisted Solution

    by:Dave Baldwin
    You can't just add modules from different sources to Apache or PHP.  Both programs are very version and compiler sensitive.  Trying to use modules from different versions or compilers usually crashes the main program.

    And the WAMP people compile their own versions so they can substitute in different versions of the main programs.  Trying to install a module from a different source probably isn't going to work.

    My version of WAMP has a file in the Apache modules directory and phpinfo() says it running using 'cgi' interface.
    LVL 61

    Accepted Solution

    mod_fcgid is separate product from apache httpd, and does not offer binary windows download.
    As mentioned before you need exact version from same source as apache httpd ( is not valid source for that)
    Or build everything on your own with your own visual studio compilers.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    779 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

    21 Experts available now in Live!

    Get 1:1 Help Now