2016-01-13 69 views
1

現在我做的第一件事就是改變人們使用的端口。我打開了httpd.conf文件,改變了所有端口80港口8080,它仍然不希望啓動。以下是錯誤日誌:Apache不希望開始 - XAMPP

[Wed Jan 13 11:23:21.108418 2016] [ssl:warn] [pid 288:tid 540] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name 
[Wed Jan 13 11:23:21.759466 2016] [ssl:warn] [pid 288:tid 540] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name 
[Wed Jan 13 11:23:22.895556 2016] [mpm_winnt:notice] [pid 288:tid 540] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.5.30 configured -- resuming normal operations 
[Wed Jan 13 11:23:22.896593 2016] [mpm_winnt:notice] [pid 288:tid 540] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13 
[Wed Jan 13 11:23:22.896593 2016] [core:notice] [pid 288:tid 540] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache' 
[Wed Jan 13 11:23:22.906555 2016] [mpm_winnt:notice] [pid 288:tid 540] AH00418: Parent: Created child process 9520 
[Wed Jan 13 11:23:24.245663 2016] [ssl:warn] [pid 9520:tid 580] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name 
[Wed Jan 13 11:23:24.727697 2016] [ssl:warn] [pid 9520:tid 580] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name 
[Wed Jan 13 11:23:24.797699 2016] [mpm_winnt:notice] [pid 9520:tid 580] AH00354: Child: Starting 150 worker threads. 

httpd.conf中有以下變化:

ServerName localhost:8080 
#Listen 12.34.56.78:8080 
Listen 8080 
+0

貌似錯誤是與當地的'ssl.conf'文件得到包括在內。嘗試註釋出後,開始從包括在'httpd.conf' –

+0

@KailashYadav工程。難道你想這個答案,所以我可以批准它作爲答案? – CaptainQuint

+0

我已添加。如果你積極參與,以便它能幫助其他人,那將是非常棒的。 –

回答

1

貌似錯誤是與當地的ssl.conf文件中獲取包括在內。 嘗試從評論出來後,開始apache包括httpd.conf

-1

8080是使用如報表服務等方案爲什麼不嘗試不同的一個,看看它的另一個端口仍然沒有開始。

+0

用戶Kaliash亞達夫的建議爲我工作。它現在開始於8080端口。只是等待他提交作爲答案,我可以批准它。 – CaptainQuint