我的XAMPP Apache在正常工作几次后随机关闭。
卸载旧版本后,全新安装XAMPP。
我没有安装Skype,也不知道为什么Apache突然开始给我这个问题。
这是我的错误日志:
[Thu Aug 17 18:17:29.635739 2017] [ssl:warn] [pid 10468:tid 548] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 17 18:17:29.784258 2017] [ssl:warn] [pid 10468:tid 548] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 17 18:17:29.882271 2017] [mpm_winnt:notice] [pid 10468:tid 548] AH00455: Apache/2.4.26 (Win32) OpenSSL/1.0.2l PHP/7.1.7 configured -- resuming normal operations
[Thu Aug 17 18:17:29.882271 2017] [mpm_winnt:notice] [pid 10468:tid 548] AH00456: Apache Lounge VC14 Server built: Jun 15 2017 12:39:41
[Thu Aug 17 18:17:29.882271 2017] [core:notice] [pid 10468:tid 548] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Aug 17 18:17:29.906774 2017] [mpm_winnt:notice] [pid 10468:tid 548] AH00418: Parent: Created child process 8840
[Thu Aug 17 18:17:30.771384 2017] [ssl:warn] [pid 8840:tid 584] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 17 18:17:30.900902 2017] [ssl:warn] [pid 8840:tid 584] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 17 18:17:30.932905 2017] [mpm_winnt:notice] [pid 8840:tid 584] AH00354: Child: Starting 150 worker threads.
[Thu Aug 17 18:18:11.749117 2017] [ssl:warn] [pid 4576:tid 204] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 17 18:18:11.895636 2017] [ssl:warn] [pid 4576:tid 204] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 17 18:18:11.929640 2017] [mpm_winnt:notice] [pid 4576:tid 204] AH00455: Apache/2.4.26 (Win32) OpenSSL/1.0.2l PHP/7.1.7 configured -- resuming normal operations
[Thu Aug 17 18:18:11.929640 2017] [mpm_winnt:notice] [pid 4576:tid 204] AH00456: Apache Lounge VC14 Server built: Jun 15 2017 12:39:41
[Thu Aug 17 18:18:11.929640 2017] [core:notice] [pid 4576:tid 204] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Aug 17 18:18:11.946142 2017] [mpm_winnt:notice] [pid 4576:tid 204] AH00418: Parent: Created child process 9284
[Thu Aug 17 18:18:12.907264 2017] [ssl:warn] [pid 9284:tid 556] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 17 18:18:13.041782 2017] [ssl:warn] [pid 9284:tid 556] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 17 18:18:13.076286 2017] [mpm_winnt:notice] [pid 9284:tid 556] AH00354: Child: Starting 150 worker threads.
[Fri Aug 18 09:43:54.467476 2017] [ssl:warn] [pid 10840:tid 704] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Aug 18 09:43:54.512482 2017] [core:warn] [pid 10840:tid 704] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Aug 18 09:43:54.616495 2017] [ssl:warn] [pid 10840:tid 704] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Aug 18 09:43:55.080056 2017] [mpm_winnt:notice] [pid 10840:tid 704] AH00455: Apache/2.4.26 (Win32) OpenSSL/1.0.2l PHP/7.1.7 configured -- resuming normal operations
[Fri Aug 18 09:43:55.080056 2017] [mpm_winnt:notice] [pid 10840:tid 704] AH00456: Apache Lounge VC14 Server built: Jun 15 2017 12:39:41
[Fri Aug 18 09:43:55.080056 2017] [core:notice] [pid 10840:tid 704] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Aug 18 09:43:55.099557 2017] [mpm_winnt:notice] [pid 10840:tid 704] AH00418: Parent: Created child process 7628
[Fri Aug 18 09:43:56.123688 2017] [ssl:warn] [pid 7628:tid 600] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Aug 18 09:43:56.266206 2017] [ssl:warn] [pid 7628:tid 600] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Aug 18 09:43:56.302211 2017] [mpm_winnt:notice] [pid 7628:tid 600] AH00354: Child: Starting 150 worker threads.
答案 0 :(得分:0)
由于我无法评论,我会试着猜出可能是什么问题。你说这是一个干净的安装,尝试以管理员身份运行xampp-control.exe
或者这会有帮助吗? XAMPP PHP version
答案 1 :(得分:0)
我通过在CMD中运行“net stop was / y”命令来实现它。
显然,一些Windows服务(万维网发布服务,Net.Msmq侦听器适配器服务和Windows进程激活服务)干扰了XAMPP的Apache。