2016-01-13 77 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