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 -> Apache View previous topic :: View next topic
Reply to topic   Topic: mod_fcgid.so refuses to load
Author
andy_wfc



Joined: 28 Oct 2016
Posts: 6
Location: US

PostPosted: Fri 28 Apr '17 23:54    Post subject: mod_fcgid.so refuses to load Reply with quote

I download Apache 2.4.25, 32-bit, VC14 from here (specifically, this one) and mod_fcgid 2.3.9, 32-bit, VC 14 from here as well.

I ran httpd.exe -k install to setup apache itself and that worked fine leading me to believe I have the appropriate VC runtime(s) installed. I then copied mod_fcgid.so to Apache's modules directory, added "LoadModule fcgid_module modules/mod_fcgid.so" to httpd.conf, and restarted the service.

Apache now crashes out with this error:
Syntax error on line 180 of C:/Apache24/conf/httpd.conf: Cannot load moules/mod_fcgid.so into server: The specified module could not be found

The .so file is present so normally I'd expect this means a binary format mismatch, but they're definitely both the 32-bit VC14 binaries linked in this post. What else might cause this error?
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Sun 30 Apr '17 16:03    Post subject: Reply with quote

Are you loading a 32-bits php5apache2_4.dll (PHP 5.6) or php7apache2_4.dll (PHP 7.0/7.1)? This cannot be 64-bits.
Back to top
andy_wfc



Joined: 28 Oct 2016
Posts: 6
Location: US

PostPosted: Mon 01 May '17 18:13    Post subject: Reply with quote

No, I am not loading any kind of PHP dll.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Mon 01 May '17 23:05    Post subject: Reply with quote

Oops, I mixed up mod_php and mod_fcgid. mod_fcgid.so loads a php-cgi.exe and that one must be 32-bits if your Apache is 32-bits as well. See for instance https://www.apachelounge.com/viewtopic.php?p=32740

Is the php-cgi.exe that you are trying to load 32-bits? and is the FcgidInitialEnv correct?
Back to top


Reply to topic   Topic: mod_fcgid.so refuses to load View previous topic :: View next topic
Post new topic   Forum Index -> Apache