| Author |  | 
| tedkuo469 
 
 
 Joined: 29 Nov 2006
 Posts: 2
 
 
 | 
|  Posted: Wed 29 Nov '06 1:37    Post subject: install fastcgi module on apache 2.2 for win32 |   |  
| 
 |  
| Apache Version: Apache2.2 for windows Operation system: windows XP
 
 Hi, I am very newbie at apache, I have been trying to install fastcgi module into Apache server. So i follow the instructions given in the Fastcgi website by including the following line in the httpd.conf:
 
 LoadModule fastcgi_module modules/mod_fastcgi.dll
 
 However, when I test the configuration by running the "Test configuration" program. It displays an error:
 
 httpd.exe: Syntax error on line 86 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache Software Foundation/Apache2.2/modules/modfastcgi.dll into server: The specified module could not be found
 
 I have tried both of mod_fastcgi-2.4.2-AP13.dll and mod_fastcgi-2.4.2-AP20.dll that can be downloaded from the FastCGi website, however none of them worked Does anyone know what's the wrong with this?. Did I miss any step, or have I downloaded the wrong thing.. I have been stuck for a while any help would be very much appreciated
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Wed 29 Nov '06 10:20    Post subject: |   |  
| 
 |  
| For me worked 
  	  | Code: |  	  | LoadModule fcgid_module modules/mod_fcgid.so
 <IfModule mod_fcgid.c>
 
 IPCCommTimeout 40
 IPCConnectTimeout 10
 MaxProcessCount 8
 OutputBufferSize 64
 ProcessLifeTime 240
 MaxRequestsPerProcess 500
 
 <Directory /server2/www/fcgi>
 AddHandler fcgid-script .fcgi
 Options Indexes FollowSymLinks ExecCGI
 FCGIWrapper "/server2/php/php-cgi.exe" .fcgi
 AllowOverride all
 Order allow,deny
 Allow from all
 Satisfy any
 </Directory>
 
 </IfModule>
 
 | 
 
 I downloaded mod_fastcgi from here. Please notice the readme file in the zip.
 |  | 
| Back to top |  | 
| tedkuo469 
 
 
 Joined: 29 Nov 2006
 Posts: 2
 
 
 | 
|  Posted: Thu 30 Nov '06 0:16    Post subject: |   |  
| 
 |  
| Thanks alot for the help, it passed the configuration test fine now. However, just wondering what is the difference between the module fcgid.so and the mod_fastcgi.dll that I was using. Do they behave differently in some case? Thanks in advance |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Thu 30 Nov '06 10:23    Post subject: |   |  
| 
 |  
| I don't know where you downloaded the dll. Normaly all modules from Apache in windows have the extension .so and not .dll Steffen compiled the source from http://fastcgi.coremail.cn/index.htm and it works fine.
 |  | 
| Back to top |  | 
| pasta 
 
 
 Joined: 22 Aug 2007
 Posts: 5
 
 
 | 
|  Posted: Wed 22 Aug '07 13:36    Post subject: |   |  
| 
 |  
| Hi, I have the same problem but with the latest version. I've tried to aply the provided solution but it doesn't work. 
 OS = Win XP
 
 Doe I have to change somethings within the provided solution?
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Wed 22 Aug '07 13:57    Post subject: |   |  
| 
 |  
| What does your error.log say? |  | 
| Back to top |  | 
| pasta 
 
 
 Joined: 22 Aug 2007
 Posts: 5
 
 
 | 
|  Posted: Wed 22 Aug '07 14:03    Post subject: |   |  
| 
 |  
| Test config file says the same error above even if I aply the suplied solution... 
 
 httpd.exe: syntax error on line of 67  cannot load mod_fcgid.so The specified procedure could not be found.
 
 
 And in the error logs itself doesn't anything about this error.
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Wed 22 Aug '07 15:40    Post subject: |   |  
| 
 |  
|  	  | Code: |  	  | The specified procedure could not be found
 
 | 
 
 Sure that you downloaded the right version for your apache? If you downloaded it from apachelounge did you copy the manifest file?
 |  | 
| Back to top |  | 
| pasta 
 
 
 Joined: 22 Aug 2007
 Posts: 5
 
 
 | 
|  Posted: Wed 22 Aug '07 16:03    Post subject: |   |  
| 
 |  
| I have the latest Apache if you mean by that. and the latest version of mod_fcgi.. or is that not the clue what you are asking?
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Wed 22 Aug '07 16:45    Post subject: |   |  
| 
 |  
| Yes, there are is version from mod_fcgi for apache 2.0 and one for Apache 2.2. Secondly if you downloaded mod_fcgi from apachelounge you need to place the *.manifest files in the apache\bin foler for making that working! the manifest file is in the zip file included. Did you install the Visual C++ 2005 SP1 Redistributable Package?
 |  | 
| Back to top |  | 
| pasta 
 
 
 Joined: 22 Aug 2007
 Posts: 5
 
 
 | 
|  Posted: Wed 22 Aug '07 17:43    Post subject: |   |  
| 
 |  
| yes, I did install VC++ but I didn't install the manifests |  | 
| Back to top |  | 
| pasta 
 
 
 Joined: 22 Aug 2007
 Posts: 5
 
 
 | 
|  Posted: Wed 22 Aug '07 17:56    Post subject: |   |  
| 
 |  
| This is what I now did: 
 I've copied the manifest to apache2\bin
 I've copied the module to modules
 
 I've added the upper solution in to my httpd.conf
 
 and still the same problem provide above
 |  | 
| Back to top |  |