Re: Apache 2.6 Can't Find Server Root - Win 11

Paul <[email protected]> Mon, 9 Jun 2025 15:38:04 -0400
Newsgroups gmane.comp.apache.user
Organization Stormy Weather
Message-ID <[email protected]>
On 6/9/25 14:50, Bill Wiest 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.

The error reports "c:/whatever" and you say it's at "C:/whatever." Maybe 
trivial (I gave up on Windows in 2003 and can't remember whether case 
was sensitive), but asking a .conf  to find a file in the wrong place 
normally fails.

Good luck,
Paul
> 
> ??
> 
> *From:*Bill Wiest <[email protected]>
> *Sent:* June 9, 2025 9:55 AM
> *To:* [email protected]
> *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 <[email protected] <mailto:[email protected]>>
> *Sent:* June 9, 2025 9:28 AM
> *To:* [email protected] <mailto:[email protected]>
> *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 <[email protected] <mailto:[email protected]>>
> *Sent:* June 9, 2025 9:22 AM
> *To:* [email protected] <mailto:[email protected]>
> *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 <[email protected] 
> <mailto:[email protected]>> 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?
>