"Apache shutdown unexpectedly"

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

"Apache shutdown unexpectedly"

Postby ljermaks » 01. February 2022 11:02

I keep getting an error when trying to start up apache:

10:08:18 [Apache] Error: Apache shutdown unexpectedly.
10:08:18 [Apache] This may be due to a blocked port, missing dependencies,
10:08:18 [Apache] improper privileges, a crash, or a shutdown by another method.
10:08:18 [Apache] Press the Logs button to view error logs and check
10:08:18 [Apache] the Windows Event Viewer for more clues
10:08:18 [Apache] If you need more help, copy and post this
10:08:18 [Apache] entire log window on the forums

I've tried changing the ports and uninstalling and reinstalling it but nothing worked.

Anybody any ideas?
ljermaks
 
Posts: 2
Joined: 01. February 2022 10:59
XAMPP version: 8.1.2
Operating System: Windows 10

Re: "Apache shutdown unexpectedly"

Postby Altrea » 01. February 2022 12:11

Hi,

This information is not enough to identify your issue.

Please read this thread which helps you to gather the information needed to help us helping you:
=> [Q&A] Insufficient debug information - Apache starting issue
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: 11952
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: "Apache shutdown unexpectedly"

Postby ljermaks » 01. February 2022 12:18

10:04:59 [Apache] Attempting to start Apache service...
10:04:59 [Apache] Status change detected: running
10:05:00 [Apache] Status change detected: stopped
10:05:00 [Apache] Error: Apache shutdown unexpectedly.
10:05:00 [Apache] This may be due to a blocked port, missing dependencies,
10:05:00 [Apache] improper privileges, a crash, or a shutdown by another method.
10:05:00 [Apache] Press the Logs button to view error logs and check
10:05:00 [Apache] the Windows Event Viewer for more clues
10:05:00 [Apache] If you need more help, copy and post this
10:05:00 [Apache] entire log window on the forums
10:06:48 [Apache] Attempting to start Apache service...
10:06:49 [Apache] Status change detected: running
10:06:49 [Apache] Status change detected: stopped
10:06:49 [Apache] Error: Apache shutdown unexpectedly.
10:06:49 [Apache] This may be due to a blocked port, missing dependencies,
10:06:49 [Apache] improper privileges, a crash, or a shutdown by another method.
10:06:49 [Apache] Press the Logs button to view error logs and check
10:06:49 [Apache] the Windows Event Viewer for more clues
10:06:49 [Apache] If you need more help, copy and post this
10:06:49 [Apache] entire log window on the forums
10:06:50 [Apache] Attempting to start Apache service...
10:06:53 [Apache] Attempting to start Apache service...
10:06:53 [Apache] Status change detected: running
10:06:54 [Apache] Status change detected: stopped
10:06:54 [Apache] Error: Apache shutdown unexpectedly.
10:06:54 [Apache] This may be due to a blocked port, missing dependencies,
10:06:54 [Apache] improper privileges, a crash, or a shutdown by another method.
10:06:54 [Apache] Press the Logs button to view error logs and check
10:06:54 [Apache] the Windows Event Viewer for more clues
10:06:54 [Apache] If you need more help, copy and post this
10:06:54 [Apache] entire log window on the forums
10:07:36 [main] Executing "services.msc"
10:08:17 [Apache] Status change detected: running
10:08:18 [Apache] Status change detected: stopped
10:08:18 [Apache] Error: Apache shutdown unexpectedly.
10:08:18 [Apache] This may be due to a blocked port, missing dependencies,
10:08:18 [Apache] improper privileges, a crash, or a shutdown by another method.
10:08:18 [Apache] Press the Logs button to view error logs and check
10:08:18 [Apache] the Windows Event Viewer for more clues
10:08:18 [Apache] If you need more help, copy and post this
10:08:18 [Apache] entire log window on the forums
10:22:34 [Apache] Attempting to start Apache service...
10:22:46 [Apache] Attempting to start Apache service...
10:22:47 [Apache] Status change detected: running
10:22:47 [Apache] Status change detected: stopped
10:22:47 [Apache] Error: Apache shutdown unexpectedly.
10:22:47 [Apache] This may be due to a blocked port, missing dependencies,
10:22:47 [Apache] improper privileges, a crash, or a shutdown by another method.
10:22:47 [Apache] Press the Logs button to view error logs and check
10:22:47 [Apache] the Windows Event Viewer for more clues
10:22:47 [Apache] If you need more help, copy and post this
10:22:47 [Apache] entire log window on the forums
10:54:57 [Apache] Attempting to start Apache service...
10:55:01 [Apache] Attempting to start Apache service...
10:55:01 [Apache] Status change detected: running
10:55:02 [Apache] Status change detected: stopped
10:55:02 [Apache] Error: Apache shutdown unexpectedly.
10:55:02 [Apache] This may be due to a blocked port, missing dependencies,
10:55:02 [Apache] improper privileges, a crash, or a shutdown by another method.
10:55:02 [Apache] Press the Logs button to view error logs and check
10:55:02 [Apache] the Windows Event Viewer for more clues
10:55:02 [Apache] If you need more help, copy and post this
10:55:02 [Apache] entire log window on the forums
11:02:10 [main] Executing "services.msc"
11:14:54 [Apache] Attempting to start Apache service...
11:14:56 [Apache] Attempting to start Apache service...
11:15:03 [mysql] Attempting to stop MySQL app...
11:15:03 [mysql] Status change detected: stopped
11:15:05 [Apache] Attempting to start Apache service...
11:15:05 [Apache] Status change detected: running
11:15:06 [Apache] Status change detected: stopped
11:15:06 [Apache] Error: Apache shutdown unexpectedly.
11:15:06 [Apache] This may be due to a blocked port, missing dependencies,
11:15:06 [Apache] improper privileges, a crash, or a shutdown by another method.
11:15:06 [Apache] Press the Logs button to view error logs and check
11:15:06 [Apache] the Windows Event Viewer for more clues
11:15:06 [Apache] If you need more help, copy and post this
11:15:06 [Apache] entire log window on the forums

It's just repeated. I can provide the error log file however:
[Tue Feb 01 10:22:34.860364 2022] [ssl:warn] [pid 21192:tid 644] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 01 10:22:34.905097 2022] [core:warn] [pid 21192:tid 644] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Feb 01 10:22:34.907137 2022] [ssl:warn] [pid 21192:tid 644] 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
[Tue Feb 01 10:22:34.933275 2022] [:emerg] [pid 21192:tid 644] AH00020: Configuration Failed, exiting
[Tue Feb 01 10:22:47.215074 2022] [ssl:warn] [pid 21392:tid 652] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 01 10:22:47.261615 2022] [core:warn] [pid 21392:tid 652] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Feb 01 10:22:47.263627 2022] [ssl:warn] [pid 21392:tid 652] 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
[Tue Feb 01 10:22:47.286623 2022] [:emerg] [pid 21392:tid 652] AH00020: Configuration Failed, exiting
[Tue Feb 01 10:54:57.602760 2022] [ssl:warn] [pid 5316:tid 636] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 01 10:54:57.634968 2022] [core:warn] [pid 5316:tid 636] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Feb 01 10:54:57.636686 2022] [ssl:warn] [pid 5316:tid 636] 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
[Tue Feb 01 10:54:57.660693 2022] [:emerg] [pid 5316:tid 636] AH00020: Configuration Failed, exiting
[Tue Feb 01 10:55:01.857481 2022] [ssl:warn] [pid 12028:tid 648] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 01 10:55:01.895608 2022] [core:warn] [pid 12028:tid 648] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Feb 01 10:55:01.897609 2022] [ssl:warn] [pid 12028:tid 648] 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
[Tue Feb 01 10:55:01.920695 2022] [:emerg] [pid 12028:tid 648] AH00020: Configuration Failed, exiting
[Tue Feb 01 11:02:20.444899 2022] [ssl:warn] [pid 12196:tid 644] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 01 11:02:20.491736 2022] [core:warn] [pid 12196:tid 644] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Feb 01 11:02:20.493630 2022] [ssl:warn] [pid 12196:tid 644] 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
[Tue Feb 01 11:02:20.518152 2022] [:emerg] [pid 12196:tid 644] AH00020: Configuration Failed, exiting
[Tue Feb 01 11:14:55.276433 2022] [ssl:warn] [pid 5672:tid 668] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 01 11:14:55.320971 2022] [core:warn] [pid 5672:tid 668] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Feb 01 11:14:55.322988 2022] [ssl:warn] [pid 5672:tid 668] AH01909: www.example.com:4433: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
[Tue Feb 01 11:14:55.346985 2022] [:emerg] [pid 5672:tid 668] AH00020: Configuration Failed, exiting
[Tue Feb 01 11:14:56.837894 2022] [ssl:warn] [pid 21296:tid 640] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 01 11:14:56.885881 2022] [core:warn] [pid 21296:tid 640] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Feb 01 11:14:56.887866 2022] [ssl:warn] [pid 21296:tid 640] AH01909: www.example.com:4433: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
[Tue Feb 01 11:14:56.911120 2022] [:emerg] [pid 21296:tid 640] AH00020: Configuration Failed, exiting
[Tue Feb 01 11:15:05.941473 2022] [ssl:warn] [pid 20972:tid 664] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 01 11:15:05.988313 2022] [core:warn] [pid 20972:tid 664] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Feb 01 11:15:05.990315 2022] [ssl:warn] [pid 20972:tid 664] AH01909: www.example.com:4433: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
[Tue Feb 01 11:15:06.014405 2022] [:emerg] [pid 20972:tid 664] AH00020: Configuration Failed, exiting
ljermaks
 
Posts: 2
Joined: 01. February 2022 10:59
XAMPP version: 8.1.2
Operating System: Windows 10

Re: "Apache shutdown unexpectedly"

Postby Altrea » 01. February 2022 14:19

ljermaks 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
[Tue Feb 01 11:15:06.014405 2022] [:emerg] [pid 20972:tid 664] AH00020: Configuration Failed, exiting

Please download and install the Visual C++ Download for Visual Studio 2015, 2017 and 2019 (x64) from here: https://support.microsoft.com/en-us/hel ... -downloads

This should fix your issue.
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: 11952
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 68 guests