【问题标题】:XAMPP Apache service not starting?XAMPP Apache 服务没有启动?
【发布时间】:2020-11-14 06:37:31
【问题描述】:

我什么都试过了:

  1. 重新安装应用程序 5 次
  2. 将端口从 80 更改为 8080 和 443 至 4343
  3. 使用 Apache 启动 BAT 文件
  4. 在线寻找更多解决方案。
  5. 更改 UAC 设置(但请注意,我没有 知道我是否必须禁用它。该设置名为“从不 通知我”)
  6. 我卸载了 Skype(我的意思是反正我不喜欢使用它)

控制面板官方报错:

3:27:24 PM  [Apache]    Error: Apache shutdown unexpectedly.
3:27:24 PM  [Apache]    This may be due to a blocked port, missing dependencies, 
3:27:24 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
3:27:24 PM  [Apache]    Press the Logs button to view error logs and check
3:27:24 PM  [Apache]    the Windows Event Viewer for more clues
3:27:24 PM  [Apache]    If you need more help, copy and post this
3:27:24 PM  [Apache]    entire log window on the forums

日志中的错误:

[Fri Jul 24 15:27:23.908527 2020] [ssl:warn] [pid 1800:tid 664] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jul 24 15:27:23.958604 2020] [ssl:warn] [pid 1800:tid 664] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning:  'vcruntime140.dll' 14.0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0
[Fri Jul 24 15:27:23.958604 2020] [:emerg] [pid 1800:tid 664] AH00020: Configuration Failed, exiting

有什么解决办法吗?

【问题讨论】:

  • 修复这个PHP Warning: 'vcruntime140.dll' 14.0 is not compatible with this PHP 从微软站点安装所有的 Visual C/C++ 运行时,但我确实认为你需要的应该已经安装了 XAMPP,但我不是 XAMPP 用户
  • 这是我拥有的 Visual CC 程序:2015-2019(x86 和 x64)、4 个 2013 redist 安装(2 x86 和 2 x64)、2012(x86 和 x64)、2010( x86 和 x64),4 个 2008 版的 redist 安装(3 个 x86 和 1 个 x64),最后一个是 2005 版的 redist
  • 你使用的是什么版本的 PHP
  • 我不知道,我不认为我安装了 ????????对不起
  • XAMPP自带

标签: mysql sql apache xampp uac


【解决方案1】:

查看日志,好像服务器名称与 SSL 证书上的名称不同。

【讨论】:

  • 请求具有正确服务器名称的新证书。
  • 现在我该怎么做?我真的很抱歉我在这方面没有真正的经验?
【解决方案2】:

这个问题通常是由point (5) Changing UAC settings 引起的。通过安装vcruntime140.dll 并不能解决问题。
这可能是由于安装了其他版本的 php 或不同的 php 版本造成的(卸载 php 并尝试重新安装 XAMPP)。

来源:
https://stackoverflow.com/questions/45790160/is-there-way-to-use-two-php-versions-in-xampphttps://themanish.com/run-multiple-version-of-php-in-xampp-windows-without-installing-multiple-xampp/

【讨论】:

    【解决方案3】:

    从 Microsoft 安装最新版本的 Visual Studio。为我工作

    【讨论】:

      猜你喜欢
      • 2013-06-26
      • 2016-09-22
      • 1970-01-01
      • 2016-10-23
      • 2018-06-18
      • 2016-01-08
      • 2012-12-13
      • 2016-11-03
      • 2015-07-03
      相关资源
      最近更新 更多