1. 程式人生 > >apache無法啟動問題的解決

apache無法啟動問題的解決

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中啟動,果然起來了