apache and mysql fail to start

Problems with the Windows version of XAMPP, questions, comments, and anything related.

apache and mysql fail to start

Postby gmeyers1 » 31. March 2023 17:33

I have successfully been running a PHP program which access a MySQL DB for several weeks on my Windows 11 installation. Today for unknown reasons XAMPP can't start apache and mysql. Control panel shows:
9:26:56 AM [main] Enabling autostart for module "Apache"
9:26:56 AM [main] Enabling autostart for module "MySQL"
9:26:56 AM [main] Starting Check-Timer
9:26:56 AM [main] Control Panel Ready
9:26:57 AM [Apache] Autostart active: starting...
9:26:57 AM [Apache] Attempting to start Apache app...
9:26:57 AM [mysql] Autostart active: starting...
9:26:57 AM [mysql] Attempting to start MySQL app...

Apache error log shows:
[Fri Mar 31 09:10:14.258701 2023] [ssl:warn] [pid 46048:tid 368] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Mar 31 09:10:14.335300 2023] [mpm_winnt:notice] [pid 46048:tid 368] AH00354: Child: Starting 150 worker threads.
[Fri Mar 31 09:10:23.041504 2023] [mpm_winnt:notice] [pid 33416:tid 336] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Mar 31 09:10:25.064097 2023] [mpm_winnt:notice] [pid 46048:tid 368] AH00364: Child: All worker threads have exited.
[Fri Mar 31 09:10:25.089615 2023] [mpm_winnt:notice] [pid 33416:tid 336] AH00430: Parent: Child process 46048 exited successfully.

I've rebooted Windows, used the xampp_stop and xampp_start progrmsm but nothing works. The only change is I think Windows automatically installed a new version of Edge this morning. Any ideas?
gmeyers1
 
Posts: 9
Joined: 08. March 2023 19:57
XAMPP version: 8.2.0
Operating System: Windows 11

Re: apache and mysql fail to start

Postby gmeyers1 » 31. March 2023 18:05

Additional info:
Control Panel shows version 3.3.0
httpd "details" shows version 2.4.54
gmeyers1
 
Posts: 9
Joined: 08. March 2023 19:57
XAMPP version: 8.2.0
Operating System: Windows 11

Re: apache and mysql fail to start

Postby gmeyers1 » 31. March 2023 23:07

forgot to add xampp version is 8.2.0
gmeyers1
 
Posts: 9
Joined: 08. March 2023 19:57
XAMPP version: 8.2.0
Operating System: Windows 11

Re: apache and mysql fail to start

Postby gmeyers1 » 03. April 2023 17:13

I got the system running again by doing the following:
1. Ran apache_stop windows batch file in xampp directory
2. Ran mysql_stop windows batch file
3. Ran xampp_stop app
4. Ran xampp_start app
I can now run my php/mysql program from localhost
Is there a more direct way to restart xampp/apache/mysql?
One issue still present--when I run the xampp control panel, Apache and MySQL are colored Red in the "module" column, the Start and Admin buttons are faded out (not functional), and the check boxes under the "Module Service" column are faded and not functional.

Can someone explain this?
gmeyers1
 
Posts: 9
Joined: 08. March 2023 19:57
XAMPP version: 8.2.0
Operating System: Windows 11


Return to XAMPP for Windows

Who is online

Users browsing this forum: lougenne04 and 121 guests