Can’t Run the Xampp – Apache Error

I just want to test my new WordPress theme on my computer today, so I installed the XAMPP Apache + MariaDB + PHP + Perl package, but I can’t run the apache via there are some errors, I checked the error log and fixed most of the warnings, notice, etc, still can’t get the things done!

[Sun May 16 13:28:19.427800 2021] [ssl:warn] [pid 11484:tid 244] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun May 16 13:28:19.448800 2021] [ssl:warn] [pid 11484:tid 244] 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.28 in Unknown on line 0
[Sun May 16 13:28:19.449800 2021] [:emerg] [pid 11484:tid 244] AH00020: Configuration Failed, exiting
[Sun May 16 13:30:12.016800 2021] [ssl:warn] [pid 2644:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun May 16 13:30:12.035800 2021] [ssl:warn] [pid 2644:tid 252] 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.28 in Unknown on line 0
[Sun May 16 13:30:12.036800 2021] [:emerg] [pid 2644:tid 252] AH00020: Configuration Failed, exiting
[Sun May 16 13:42:48.444800 2021] [ssl:warn] [pid 9412:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun May 16 13:42:48.462800 2021] [core:warn] [pid 9412:tid 252] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun May 16 13:42:48.464800 2021] [ssl:warn] [pid 9412:tid 252] 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.28 in Unknown on line 0
[Sun May 16 13:42:48.465800 2021] [:emerg] [pid 9412:tid 252] AH00020: Configuration Failed, exiting
[Sun May 16 13:50:11.999800 2021] [ssl:warn] [pid 13768:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun May 16 13:50:12.017800 2021] [core:warn] [pid 13768:tid 252] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun May 16 13:50:12.019800 2021] [ssl:warn] [pid 13768:tid 252] 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.28 in Unknown on line 0
[Sun May 16 13:50:12.020800 2021] [:emerg] [pid 13768:tid 252] AH00020: Configuration Failed, exiting
[Sun May 16 13:54:27.991200 2021] [ssl:warn] [pid 3944:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun May 16 13:54:28.011200 2021] [core:warn] [pid 3944:tid 252] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun May 16 13:54:28.021200 2021] [ssl:warn] [pid 3944:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun May 16 13:54:28.071200 2021] [mpm_winnt:notice] [pid 3944:tid 252] AH00455: Apache/2.4.47 (Win64) OpenSSL/1.1.1k PHP/8.0.6 configured -- resuming normal operations
[Sun May 16 13:54:28.071200 2021] [mpm_winnt:notice] [pid 3944:tid 252] AH00456: Apache Lounge VS16 Server built: Apr 24 2021 11:08:47
[Sun May 16 13:54:28.071200 2021] [core:notice] [pid 3944:tid 252] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun May 16 13:54:28.201200 2021] [mpm_winnt:notice] [pid 3944:tid 252] AH00418: Parent: Created child process 5760
[Sun May 16 13:54:28.561200 2021] [ssl:warn] [pid 5760:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun May 16 13:54:28.581200 2021] [ssl:warn] [pid 5760:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun May 16 13:54:28.601200 2021] [mpm_winnt:notice] [pid 5760:tid 264] AH00354: Child: Starting 150 worker threads.

Changed the port, changed the httpd.conf, searched the internet, what am I doing at last? I just reinstalled the latest new Microsoft Visual C ++ 2019! Got solved! Download and reinstall the new version of VC++ if you have the same problem.

You can download the latest version here.