Page 1 of 1

Error: Apache shutdown unexpectedly.

PostPosted: 03. April 2021 02:36
by 4RLucis
Hi there, I've problem with my XAMPP, it said
8:25:29 AM [Apache] Attempting to start Apache service...
8:25:34 AM [Apache] Status change detected: running
8:25:35 AM [Apache] Status change detected: stopped
8:25:35 AM [Apache] Error: Apache shutdown unexpectedly.
8:25:35 AM [Apache] This may be due to a blocked port, missing dependencies,
8:25:35 AM [Apache] improper privileges, a crash, or a shutdown by another method.
8:25:35 AM [Apache] Press the Logs button to view error logs and check
8:25:35 AM [Apache] the Windows Event Viewer for more clues
8:25:35 AM [Apache] If you need more help, copy and post this
8:25:35 AM [Apache] entire log window on the forums


I thought gonna uninstall it then download and install new XAMPP. At new XAMPP when I try to start Apache, it gave popup windows said "Net Command" but in the end I still get the same error.
So I check Apache (error.log), it said
[Sat Apr 03 08:28:57.416922 2021] [ssl:warn] [pid 10760:tid 676] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 03 08:28:57.553620 2021] [core:warn] [pid 10760:tid 676] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 03 08:28:57.559236 2021] [ssl:warn] [pid 10760:tid 676] 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
[Sat Apr 03 08:28:57.559236 2021] [:emerg] [pid 10760:tid 676] AH00020: Configuration Failed, exiting


Please help me to fix this problem because I really need XAMPP to finish my project. For your attention and the fulfillment of this request, thank you very much

Re: Error: Apache shutdown unexpectedly.

PostPosted: 03. April 2021 06:24
by Altrea
Hi,

4RLucis wrote: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
[Sat Apr 03 08:28:57.559236 2021] [:emerg] [pid 10760:tid 676] 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.

Re: Error: Apache shutdown unexpectedly.

PostPosted: 03. April 2021 11:27
by 4RLucis
Yes it fix my issue. Thank you very much and have a good day.