Page 1 of 1

Apache error

PostPosted: 24. August 2023 14:24
by inicial_xampp
I'm facing some issues while trying to start my Apache server using XAMPP. The following errors are being displayed in the log:

1. [ssl:warn] [pid 5728:tid 428] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
2. [core:warn] [pid 5728:tid 428] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
3. [ssl:warn] [pid 5728:tid 428] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
4. 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
5. [:emerg] [pid 5728:tid 428] AH00020: Configuration Failed, exiting

Re: Apache error

PostPosted: 26. August 2023 01:12
by trejder
First and third are certificate-related issues that has nothing to do with XAMPP. Can be safely ignored, I think.

Seconds says what it says -- it seems that either you or someone else killed the Apache process when it was running previously, instead of shutting it down correctly. Also to be ignored.

Fourth clearly says that your VCRuntime140.dll has a different version number than the one required by build version of PHP that you are using. Are you 100% sure that you installed XAMPP using official installer? I am asking because it should assure that you have correct version of this library (by overwriting old one with the new one). Completely uninstalling XAMPP (removing it folder) and freshly-installing it can help. If not possible, try to find an installer or a source that will give you VCRUNTIME library in expected version.

Fifth suggests that you have errors in configuration file. But it can also mean that configuration is OK, but wasn't even read because Apache or some other component failed to do so (to start?). This could be due to incorrect runtime library version (so linked to previous issue) or something completely different.

Re: Apache error

PostPosted: 20. September 2023 23:41
by timmyderselts
check your http-ssl.conf file if it says servername www.example.com try changing it to example.com
or try just servername localhost

Help Me Apache Has Error

PostPosted: 26. September 2023 15:23
by Im_From_Polish
Im Wanna Turn on Apache It Says "[Apache] Error: Apache shutdown unexpectedly.
16:00:11 [Apache] This may be due to a blocked port, missing dependencies,
16:00:11 [Apache] improper privileges, a crash, or a shutdown by another method.
16:00:11 [Apache] Press the Logs button to view error logs and check
16:00:11 [Apache] the Windows Event Viewer for more clues
16:00:11 [Apache] If you need more help, copy and post this
16:00:11 [Apache] entire log window on the forums" If You Have This Too reply!

Re: Apache error

PostPosted: 26. September 2023 19:22
by trejder
Which part of the following sentence:

Press the Logs button to view error logs and check the Windows Event Viewer for more clues.

you don't understand?