【问题标题】:XAMPP on Windows - Attempting to start Apache service... - No Port blockWindows 上的 XAMPP - 正在尝试启动 Apache 服务... - 没有端口阻塞
【发布时间】:2018-02-21 03:14:57
【问题描述】:

我在我的 Windows 7 机器上安装了 XAMPP,但无法让 Apache 工作。

打开XAMPP面板安装Apache服务后:我试过启动它,总是卡在“Starting apache service...”

一开始我得到以下信息:

7:36:57  [main]     Initializing Modules
7:36:57  [main]     The MySQL module is disabled
7:36:57  [main]     The FileZilla module is disabled
7:36:57  [main]     The Mercury module is disabled
7:36:57  [main]     Starting Check-Timer
7:36:57  [main]     Control Panel Ready
7:37:02  [main]     Executing "services.msc"
7:41:50  [Apache]   Attempting to start Apache service...

事件查看器:

名为

的 Apache 服务

报如下错误:>>> httpd.exe:C:/xampp/apache/conf/httpd.conf 第 172 行的语法错误:无法将模块/mod_ssl.so 加载到服务器中:找不到指定的模块。

我还收到 .NET 运行时优化服务的错误:

.NET 运行时优化服务 (clr_optimization_v2.0.50727_32) - 编译失败:PresentationCore,Version=3.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35。错误代码 = 0x80070002
PresentationCore,版本=3.0.0.0,文化=中性,PublicKeyToken=31bf3856ad364e35

在第一次启动时,我遇到了一些 .dll 问题,但我解决了,我不知道是否相关。

我已经尝试了所有方法: "XAMPP - Apache could not start - Attempting to start Apache service" 没有改进。

关于如何解决这个问题的任何建议?

谢谢

【问题讨论】:

    标签: windows apache dll xampp


    【解决方案1】:

    转到 Xampp 控制面板并单击 config->httpd.conf 然后转到第 171 行并更改 服务器名称本地主机:80 和 服务器名称本地主机:81 它会起作用的。

    【讨论】:

      猜你喜欢
      • 2020-11-14
      • 2018-10-29
      • 2020-02-18
      • 2015-03-09
      • 2014-02-12
      • 2015-12-20
      • 1970-01-01
      • 2016-06-20
      • 2011-12-17
      相关资源
      最近更新 更多