As I indicated in this thread earlier, I have installed both the x86 and x64 redistributables, as both were missing on the machine. I was getting a similar error with loading the other modules, such
as mod_actions.so until I tried the latest version of Apache (4.63, instead of 4.62).
This is an issue with Windows 11. Everything works fine on Windows 10.
From: Frank Gingras <thumbs@xxxxxxxxxx>
Sent: June 9, 2025 3:46 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Apache 2.6 Can't Find Server Root - Win 11
CAUTION: This email originated from outside of the organization. Do
not click links or open attachments unless you recognize the sender and know the content is safe.
So, I have installed Apache 2.4.63 and this worked, using the default httpd.conf file.
However I have now encountered a new, but similar, error:
C:\Apache24\bin>httpd.exe
httpd.exe: Syntax error on line 188 of C:/Apache24/conf/httpd.conf: Cannot load c:/PHP/php5apache2_4.dll into server: The specified module could not be found.
Yes, I do have this .dll in C:\PHP.
??
CAUTION: This email originated from outside of the organization. Do not click links or open
attachments unless you recognize the sender and know the content is safe.
The x86 and x64 redistributables were missing, but, after installing them and restarting the machine I still get the same error.
CAUTION: This email originated from outside of the organization.
Do not click links or open attachments unless you recognize the sender and know the content is safe.
That may be,
I will check.
CAUTION: This email originated from outside of the organization.
Do not click links or open attachments unless you recognize the sender and know the content is safe.
I have to move my Apache 2.6 installation from a Windows 10 machine to a Windows 11 machine.
I copied the C:\Apache24 folder over to C:\Apache24 on the Win 11 machine.
When I launch Apache on the Win 11 machine, I get this error:
C:\Apache24\bin>httpd.exe
httpd.exe: Syntax error on line 75 of C:/Apache24/conf/httpd.conf: Cannot load modules/mod_actions.so into server: The specified module could not be found.
Windows will give this error if a dependency of the .so is not found.
Could you be missing some redistributable runtime?
Have you considered just installing httpd and php under WSL2?
|