9

Trying to install XAMPP v3.2.1 on windows8 and it gives me the following error:

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

I actually tried so many things but I don't know what to do now. Any suggestions?

4

3 回答 3

9

实际上 Skype 是导致此问题的原因,因此有两种方法可以解决此问题。

  1. 退出 Skype,它会释放端口 80 和 433。

  2. 转到 Skype 工具-> 选项 -> 高级 -> 连接和未选中的端口 80 之后,您需要重新启动 Skype 并尝试运行 XAMPP 现在它不会引发任何问题,因为端口 80 和 443 可以免费使用


在某些情况下,IIS 服务器使用端口 80 或 443。这会导致 XAMPP 停止运行。要停止 IIS 服务器,您可以执行此步骤。

  • 转到开始菜单类型 Internet Information Services 选择此项并停止它的服务,这将释放端口 80 和 443。
于 2014-12-15T07:03:41.123 回答
5

尝试在“apache-ssl.conf”中注释掉所有与 SSL 相关的内容。访问和编辑此文件的最简单方法是:从 XAMPP 的控制面板 - > (Apache) Config。

于 2014-01-21T09:15:21.520 回答
0

以下是解决问题的一些选项:

选项 1:直接从 XAMPP 控制面板停止其他服务

在 XAMPP 控制面板上单击服务按钮(见上图),将出现一个带有服务列表的新窗口(见下图,文件名为 services.msc,额外信息)。

在此处输入图像描述 然后向下滚动寻找

  1. 万维网出版服务。如果它正在运行,请停止它(单击服务名称后停止左侧的此服务选项)或双击它并单击停止(如果此服务状态为已启动)。
  2. 互联网信息服务 (IIS)。如果它正在运行,请停止它(单击服务名称后停止左侧的此服务选项)或双击它并单击停止(如果此服务状态为已启动)。
  3. Web 部署服务(不是确切的名称,虽然它在开头有 Web 部署)。也停止此服务(与上述相同)。

如果您正在运行 Skype,也请退出,运行 Apache,然后启动 Skype

于 2017-03-16T12:23:28.197 回答