Apache 不想开始 - XAMPP



现在我做的第一件事就是更改它正在使用的端口。我打开了httpd.conf文件,将所有端口80更改为端口8080,但它仍然不想启动。以下是错误日志:

[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

看起来错误出现在本地ssl.conf文件中。尝试在从include中注释httpd.conf

之后启动apache

8080是ReportingServices等程序使用的另一个端口。为什么不尝试其他端口,看看它是否仍然没有启动。

最新更新