XAMPP Error: Apache shutdown unexpectedly
XAMPP Error: Apache shutdown unexpectedly
我在 XAMPP localhost 中启动 apache 时遇到此错误,无法理解。我已尝试更改 httpd.conf 中的默认端口,但仍然无法正常工作。这是错误日志
[Tue Sep 29 23:04:02.742779 2015] [ssl:warn] [pid 6344:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:03.294494 2015] [ssl:warn] [pid 6344:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:06.655537 2015] [mpm_winnt:notice] [pid 6344:tid 528] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.5.28 configured -- resuming normal operations
[Tue Sep 29 23:04:06.655537 2015] [mpm_winnt:notice] [pid 6344:tid 528] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Tue Sep 29 23:04:06.655537 2015] [core:notice] [pid 6344:tid 528] AH00094: Command line: 'C:\xampp\apache\bin\httpd.exe -d C:/xampp/apache'
[Tue Sep 29 23:04:06.671166 2015] [mpm_winnt:notice] [pid 6344:tid 528] AH00418: Parent: Created child process 1324
[Tue Sep 29 23:04:08.040905 2015] [ssl:warn] [pid 1324:tid 536] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:08.322172 2015] [ssl:warn] [pid 1324:tid 536] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:08.509695 2015] [mpm_winnt:notice] [pid 1324:tid 536] AH00354: Child: Starting 150 worker threads.
除非需要,否则请关闭服务器上的 SSL (HTTPS)。
在 XAMP 上,转到配置 -> Apache 并选择 httpd.conf 文件。将备份保存在安全的地方。然后寻找指令:
Listen 443
在此之前添加# 以禁用SSL。同样,根据 Xamp,您可能有虚拟主机侦听此端口。寻找监听 443(可能是 *:443)的任何配置块并将它们注释掉。
要检查的最后一个选项是 SSL 引擎。这可能在单独的配置文件中 (ssl.conf)。
SSLEngine on
将其更改为关闭。
所有这些都应该为您禁用 SSL。除非您需要它,在这种情况下,您的证书和服务器配置之间存在问题,我们可以进行调查。
我在 XAMPP localhost 中启动 apache 时遇到此错误,无法理解。我已尝试更改 httpd.conf 中的默认端口,但仍然无法正常工作。这是错误日志
[Tue Sep 29 23:04:02.742779 2015] [ssl:warn] [pid 6344:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:03.294494 2015] [ssl:warn] [pid 6344:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:06.655537 2015] [mpm_winnt:notice] [pid 6344:tid 528] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.5.28 configured -- resuming normal operations
[Tue Sep 29 23:04:06.655537 2015] [mpm_winnt:notice] [pid 6344:tid 528] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Tue Sep 29 23:04:06.655537 2015] [core:notice] [pid 6344:tid 528] AH00094: Command line: 'C:\xampp\apache\bin\httpd.exe -d C:/xampp/apache'
[Tue Sep 29 23:04:06.671166 2015] [mpm_winnt:notice] [pid 6344:tid 528] AH00418: Parent: Created child process 1324
[Tue Sep 29 23:04:08.040905 2015] [ssl:warn] [pid 1324:tid 536] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:08.322172 2015] [ssl:warn] [pid 1324:tid 536] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:08.509695 2015] [mpm_winnt:notice] [pid 1324:tid 536] AH00354: Child: Starting 150 worker threads.
除非需要,否则请关闭服务器上的 SSL (HTTPS)。
在 XAMP 上,转到配置 -> Apache 并选择 httpd.conf 文件。将备份保存在安全的地方。然后寻找指令:
Listen 443
在此之前添加# 以禁用SSL。同样,根据 Xamp,您可能有虚拟主机侦听此端口。寻找监听 443(可能是 *:443)的任何配置块并将它们注释掉。
要检查的最后一个选项是 SSL 引擎。这可能在单独的配置文件中 (ssl.conf)。
SSLEngine on
将其更改为关闭。
所有这些都应该为您禁用 SSL。除非您需要它,在这种情况下,您的证书和服务器配置之间存在问题,我们可以进行调查。