XAMPP安装有一段时间了,记忆中之前有跑起来过。
今天再次运行的时候突然APACHE启动不了了。查看error_log,看到以下错误:
[Wed Oct 18 22:28:37.988984 2017] [ssl:warn] [pid 3292:tid 628] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 18 22:28:38.103563 2017] [core:warn] [pid 3292:tid 628] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Oct 18 22:28:38.366236 2017] [ssl:warn] [pid 3292:tid 628] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 18 22:28:38.814900 2017] [mpm_winnt:notice] [pid 3292:tid 628] AH00455: Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 configured -- resuming normal operations
[Wed Oct 18 22:28:38.814900 2017] [mpm_winnt:notice] [pid 3292:tid 628] AH00456: Apache Lounge VC11 Server built: Dec 20 2016 13:02:04
[Wed Oct 18 22:28:38.814900 2017] [core:notice] [pid 3292:tid 628] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Oct 18 22:28:38.814900 2017] [mpm_winnt:notice] [pid 3292:tid 628] AH00418: Parent: Created child process 4368
[Wed Oct 18 22:28:42.460341 2017] [ssl:warn] [pid 4368:tid 620] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 18 22:28:46.761453 2017] [ssl:warn] [pid 4368:tid 620] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 18 22:28:48.105274 2017] [mpm_winnt:notice] [pid 4368:tid 620] AH00354: Child: Starting 150 worker threads.
网上查了下,可能由于后台有apache的进程在跑,之前没有正常退出。
因此在任务管理器里查了下,果然有好几个apache进程。点击中止。再次在xampp中启动,果然起来了