首页 文章

Windows上的XAMPP - 尝试启动Apache服务... - 没有端口阻止

提问于
浏览
0

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

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

一开始我得到以下内容:

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

Event Viewer:

Apache服务命名

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

我也得到 .NET Runtime Optimization Service 的错误:

.NET运行时优化服务(clr_optimization_v2.0.50727_32) - 无法编译:PresentationCore,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35 . 错误代码= 0x80070002
PresentationCore,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35

在第一次开始我有一些.dll问题,但我解决了它们,我不知道它是否相关 .

我已经尝试了所有内容:“XAMPP - Apache could not start - Attempting to start Apache service”没有改进 .

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

谢谢

1 回答

  • 0

    转到Xampp控制面板并单击config-> httpd.conf然后转到第171行并使用ServerName localhost更改ServerName localhost:80:81它将起作用 .

相关问题