Configuring fcgi or fastcgi mods with Apache 2.2 (WAMP server)
Posted on 2014-08-14
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!