【问题标题】:XAMPP: "Error: Apache shutdown unexpectedly" Not SkypeXAMPP:“错误:Apache 意外关闭”不是 Skype
【发布时间】:2018-01-26 23:31:47
【问题描述】:

我的 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.

【问题讨论】:

  • XAMPP 在全新安装后通常会报告证书错误吗?
  • 说实话我不知道。不过,它是在一台相当旧的机器上进行的全新安装,大约有十年的历史。这意味着什么? (我对这一切都很陌生)

标签: php apache xampp


【解决方案1】:

由于我无法发表评论,我将尝试猜测可能是什么问题。你说这是一个干净的安装,尝试以管理员身份运行 xampp-control.exe
或者这可能会有所帮助? XAMPP PHP version

【讨论】:

  • 它以管理员身份运行。但我找到了一种让它工作的方法。经过一番谷歌搜索后,我注意到 Windows“World Wide We Publishing-Service”干扰了 XAMPP 的 Apache。所以我运行了 CMD 命令“net stop was /y”,Apache 停止给我带来问题。尽管如此,还是感谢您的帮助。
【解决方案2】:

我通过在 CMD 中运行“net stop was /y”命令使其工作。

显然某些 Windows 服务(万维网发布服务、Net.Msmq 侦听器适配器服务和 Windows 进程激活服务)干扰了 XAMPP 的 Apache。

【讨论】:

    猜你喜欢
    • 2021-10-04
    • 2013-08-20
    • 1970-01-01
    • 2015-11-21
    • 1970-01-01
    • 2017-09-26
    • 2019-09-03
    相关资源
    最近更新 更多