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: Apache 2.6 on Windows 11 |
|
Author |
|
bwiest
Joined: 16 Jun 2025 Posts: 3 Location: Canada
|
Posted: Thu 19 Jun '25 21:54 Post subject: Apache 2.6 on Windows 11 |
|
|
I have to move my Apache 2.62 installation from a Windows 10 machine to a Windows 11 machine.
Initially, I copied C:\Apache24 from the Win 10 machine over to the Win 11 machine, as well as C:\PHP.
When launched, I got this error:
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.
After some investigation, I found I had not installed the VC redistributables so I installed these (x86 & 64 bit).
This did not help.
I tried commenting out the line for mod_actions.so, only to find the same error thrown for the next line.
I finally decided to install Apache 2,63 instead of 2,62, which resoled this issue.
However, I now have a similar issue for PHP:
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, the dll is in C:\PHP, so the error is not due to being unable to locate C:\PHP
The directive is:
LoadModule php5_module "c:/PHP/php5apache2_4.dll"
It is very interesting to me that using the later version of Apache resolved the first issue, which suggests that the problem was with version 2.62, and therefore, my current problem may also be Apache-related - some bug in version 2.63.
I'm at a loss, so hope someone here has a solution!
Thanks! |
|
Back to top |
|
Otomatic

Joined: 01 Sep 2011 Posts: 266 Location: Paris, France, EU
|
Posted: Fri 20 Jun '25 9:17 Post subject: |
|
|
Hi,
> c:/PHP/php5apache2_4.dll
With php5apache2_4.dll, you need VC 2010 SP1 Package.
Best way to install Visual C++ Redistributable Packages:
See: https://github.com/abbodi1406/vcredist/releases
Download the latest version of the VisualCppRedist_AIO_x86_x64.exe file and run it as administrator, all necessary redistributable VC++ will be installed and excess or obsolete files will be removed. To ensure that everything runs smoothly, some applications will need to be disabled when requested by the Redist VC++ installer. |
|
Back to top |
|
bwiest
Joined: 16 Jun 2025 Posts: 3 Location: Canada
|
Posted: Fri 20 Jun '25 15:17 Post subject: Apache 2.6 on Windows 11 |
|
|
@Otomatic
Thank you very much! That worked. |
|
Back to top |
|
bwiest
Joined: 16 Jun 2025 Posts: 3 Location: Canada
|
Posted: Wed 25 Jun '25 16:02 Post subject: Apache 2.6 on Windows 11 |
|
|
I've encountered errors when trying to use the PHP Apps, set up under Apache, that I transferred from the old machine. I'm getting the:
PDO Exception Caught.
Error with the database:
SQL Query:
Error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
I have no problem logging in as root in a Command prompt:
C:\Program Files\MySQL\MySQL Server 5.5\bin>mysql.exe -uroot -p
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 5.5.30 MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
I also have no problem logging in as root using phpMyAdmin.
phpMyAdmin is not using PDO, but, obviously, a connection is being made to the MySQL server because the "access denied" error message is being thrown by the server. |
|
Back to top |
|
|
|
|
|
|