logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: install fastcgi module on apache 2.2 for win32
Author
tedkuo469



Joined: 29 Nov 2006
Posts: 2

PostPosted: Wed 29 Nov '06 1:37    Post subject: install fastcgi module on apache 2.2 for win32 Reply with quote

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: 7298
Location: Germany, Next to Hamburg

PostPosted: Wed 29 Nov '06 10:20    Post subject: Reply with quote

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

PostPosted: Thu 30 Nov '06 0:16    Post subject: Reply with quote

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: 7298
Location: Germany, Next to Hamburg

PostPosted: Thu 30 Nov '06 10:23    Post subject: Reply with quote

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

PostPosted: Wed 22 Aug '07 13:36    Post subject: Reply with quote

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: 7298
Location: Germany, Next to Hamburg

PostPosted: Wed 22 Aug '07 13:57    Post subject: Reply with quote

What does your error.log say?
Back to top
pasta



Joined: 22 Aug 2007
Posts: 5

PostPosted: Wed 22 Aug '07 14:03    Post subject: Reply with quote

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: 7298
Location: Germany, Next to Hamburg

PostPosted: Wed 22 Aug '07 15:40    Post subject: Reply with quote

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

PostPosted: Wed 22 Aug '07 16:03    Post subject: Reply with quote

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: 7298
Location: Germany, Next to Hamburg

PostPosted: Wed 22 Aug '07 16:45    Post subject: Reply with quote

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

PostPosted: Wed 22 Aug '07 17:43    Post subject: Reply with quote

yes, I did install VC++ but I didn't install the manifests
Back to top
pasta



Joined: 22 Aug 2007
Posts: 5

PostPosted: Wed 22 Aug '07 17:56    Post subject: Reply with quote

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


Reply to topic   Topic: install fastcgi module on apache 2.2 for win32 View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules