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.