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

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/mod_fcgid.so”

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/mod_fcgid.so  - 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!
Seven0fNineAsked:
Who is Participating?
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.

Dave BaldwinFixer of ProblemsCommented:
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 mod_cgi.so file in the Apache modules directory and phpinfo() says it running using 'cgi' interface.
0
gheistCommented:
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 (apache.org is not valid source for that)
Or build everything on your own with your own visual studio compilers.
0

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
Apache Web Server

From novice to tech pro — start learning today.

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.