I have tried everything:
- Reinstalling the app 5 times
- Changing the ports from 80 to 8080 and
443 to 4343 - Using the Apache start BAT file
- Looking online for further solutions.
- Changing UAC settings (though note that I don’t
know if I necessarily disabled it. The setting is called "Never
notify me") - I uninstalled Skype (I mean not like I use it anyway)
The official error in the control panel:
3:27:24 PM [Apache] Error: Apache shutdown unexpectedly.
3:27:24 PM [Apache] This may be due to a blocked port, missing dependencies,
3:27:24 PM [Apache] improper privileges, a crash, or a shutdown by another method.
3:27:24 PM [Apache] Press the Logs button to view error logs and check
3:27:24 PM [Apache] the Windows Event Viewer for more clues
3:27:24 PM [Apache] If you need more help, copy and post this
3:27:24 PM [Apache] entire log window on the forums
Error in the logs:
[Fri Jul 24 15:27:23.908527 2020] [ssl:warn] [pid 1800:tid 664] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jul 24 15:27:23.958604 2020] [ssl:warn] [pid 1800:tid 664] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'vcruntime140.dll' 14.0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0
[Fri Jul 24 15:27:23.958604 2020] [:emerg] [pid 1800:tid 664] AH00020: Configuration Failed, exiting
Any solutions?
3
Answers
Install the latest version of Visual studio from Microsoft. Worked for me
Taking a look on log, looks like that the server name is different that the name on the SSL certificate.
The problem usually can be caused by
point (5) Changing UAC settings
. By installingvcruntime140.dll
do not solve the problem.This can be caused by installing other version of php or the different of php version (uninstal the php and try to instal the XAMPP again).
Source:
https://stackoverflow.com/questions/45790160/is-there-way-to-use-two-php-versions-in-xampp
andhttps://themanish.com/run-multiple-version-of-php-in-xampp-windows-without-installing-multiple-xampp/