Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: mod_fcgid.so refuses to load |
|
Author |
|
andy_wfc
Joined: 28 Oct 2016 Posts: 6 Location: US
|
Posted: Fri 28 Apr '17 23:54 Post subject: mod_fcgid.so refuses to load |
|
|
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: 1266 Location: Amsterdam, NL, EU
|
Posted: Sun 30 Apr '17 16:03 Post subject: |
|
|
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
|
Posted: Mon 01 May '17 18:13 Post subject: |
|
|
No, I am not loading any kind of PHP dll. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Mon 01 May '17 23:05 Post subject: |
|
|
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 |
|
|
|
|
|
|