Apache shutdown unexpectedly

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

Apache shutdown unexpectedly

Postby Niner » 27. April 2023 15:49

I am running XAMPP Control Panel v3.3.0.
I had Apache running well and needed to update my website so I Stopped Apache and MySQL. I went to start MySQL and all was fine. I started Apache and got the following error;
Error: Apache shutdown unexpectedly.
9:35:52 AM [Apache] This may be due to a blocked port, missing dependencies,
9:35:52 AM [Apache] improper privileges, a crash, or a shutdown by another method.
9:35:52 AM [Apache] Press the Logs button to view error logs and check
9:35:52 AM [Apache] the Windows Event Viewer for more clues
9:35:53 AM [Apache] If you need more help, copy and post this
9:35:53 AM [Apache] entire log window on the forums


I'm using Port 80 and confirmed that it wasn't being used by anything else.

This is the error log from when I stopped it and tried restarting;
[Thu Apr 27 08:32:23.551392 2023] [ssl:warn] [pid 16092:tid 484] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Apr 27 08:32:23.712959 2023] [core:warn] [pid 16092:tid 484] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Apr 27 08:32:23.718946 2023] [ssl:warn] [pid 16092:tid 484] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Thu Apr 27 08:32:23.770805 2023] [:emerg] [pid 16092:tid 484] AH00020: Configuration Failed, exiting
[Thu Apr 27 08:32:33.967719 2023] [ssl:warn] [pid 11464:tid 476] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Apr 27 08:32:34.077425 2023] [core:warn] [pid 11464:tid 476] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Apr 27 08:32:34.083409 2023] [ssl:warn] [pid 11464:tid 476] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Thu Apr 27 08:32:34.132279 2023] [:emerg] [pid 11464:tid 476] AH00020: Configuration Failed, exiting
[Thu Apr 27 08:33:14.818573 2023] [ssl:warn] [pid 120:tid 464] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Apr 27 08:33:14.919301 2023] [core:warn] [pid 120:tid 464] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Apr 27 08:33:14.926284 2023] [ssl:warn] [pid 120:tid 464] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Thu Apr 27 08:33:14.980139 2023] [:emerg] [pid 120:tid 464] AH00020: Configuration Failed, exiting
[Thu Apr 27 08:35:22.793737 2023] [ssl:warn] [pid 16284:tid 468] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Apr 27 08:35:22.890476 2023] [core:warn] [pid 16284:tid 468] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Apr 27 08:35:22.893468 2023] [ssl:warn] [pid 16284:tid 468] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Thu Apr 27 08:35:22.929372 2023] [:emerg] [pid 16284:tid 468] AH00020: Configuration Failed, exiting
[Thu Apr 27 09:35:52.481614 2023] [ssl:warn] [pid 10800:tid 460] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Apr 27 09:35:52.567070 2023] [core:warn] [pid 10800:tid 460] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Apr 27 09:35:52.570106 2023] [ssl:warn] [pid 10800:tid 460] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Thu Apr 27 09:35:52.655950 2023] [:emerg] [pid 10800:tid 460] AH00020: Configuration Failed, exiting


I am not familiar with Apache at all so any help is much appreciated.
Niner
 
Posts: 3
Joined: 27. April 2023 15:40
XAMPP version: 3.3.0
Operating System: Windows 10

Re: Apache shutdown unexpectedly

Postby Altrea » 27. April 2023 19:00

Hi,

Niner wrote:PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Thu Apr 27 09:35:52.655950 2023] [:emerg] [pid 10800:tid 460] AH00020: Configuration Failed, exiting

You need to (re)install the Visual C++ Runtimes: https://aka.ms/vs/16/release/vc_redist.x64.exe
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Apache shutdown unexpectedly

Postby Niner » 27. April 2023 19:08

This is weird. What would have caused C++ to fail? All I did was shut down Apache.

I ran the file from the link and get the following error;
Setup Failed
One or more issues caused the setup to fail.
0x80070666 - Another version of this product is already installed.

I have 2015-2022 installed with a date of 4/1/23, version 14.32.31332.0
Niner
 
Posts: 3
Joined: 27. April 2023 15:40
XAMPP version: 3.3.0
Operating System: Windows 10

Re: Apache shutdown unexpectedly

Postby Nobbie » 27. April 2023 19:18

Ask Microsoft.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: Apache shutdown unexpectedly

Postby Altrea » 27. April 2023 20:29

Niner wrote:This is weird. What would have caused C++ to fail? All I did was shut down Apache.

Most commonly Windows updates produce this specific issue.

Niner wrote:I have 2015-2022 installed with a date of 4/1/23, version 14.32.31332.0

But that is not the version that is found (first) by Apache/PHP.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Apache shutdown unexpectedly

Postby Niner » 27. April 2023 20:34

There wasn't an update. It happened within a minute. I did absolutely nothing else but stop Apache, realize I needed it running again, and started it with that error popping up. It had been working fine prior.

I grabbed the latest VC_redistx64 from Microsoft, installed, restarted, and now Apache is working again.

Thanks!
Niner
 
Posts: 3
Joined: 27. April 2023 15:40
XAMPP version: 3.3.0
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 209 guests