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 <thu...@apache.org>
Sent: June 9, 2025 3:46 PM
To: users@httpd.apache.org
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.


On Mon, Jun 9, 2025 at 3:15 PM Bill Wiest 
<bill.wi...@maglin.com<mailto:bill.wi...@maglin.com>> wrote:
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.

??

From: Bill Wiest <bill.wi...@maglin.com<mailto:bill.wi...@maglin.com>>
Sent: June 9, 2025 9:55 AM
To: users@httpd.apache.org<mailto:users@httpd.apache.org>
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.
The x86 and x64 redistributables were missing, but, after installing them and 
restarting the machine I still get the same error.


From: Bill Wiest <bill.wi...@maglin.com<mailto:bill.wi...@maglin.com>>
Sent: June 9, 2025 9:28 AM
To: users@httpd.apache.org<mailto:users@httpd.apache.org>
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.
That may be,

I will check.

From: Eric Covener <cove...@gmail.com<mailto:cove...@gmail.com>>
Sent: June 9, 2025 9:22 AM
To: users@httpd.apache.org<mailto:users@httpd.apache.org>
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.


On Mon, Jun 9, 2025 at 9:20 AM Bill Wiest 
<bill.wi...@maglin.com<mailto:bill.wi...@maglin.com>> wrote:
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?

Reply via email to