错误:Apache 意外关闭错误消息 [英] Error: Apache shutdown unexpectedly error message

查看:43
本文介绍了错误:Apache 意外关闭错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚使用此 文章.

然后我尝试重新启动 XAMPP,但出现此错误:

Then I tried restarting the XAMPP but I got this error:

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

之后,我打开了 Skype 并在连接"选项卡中禁用了使用端口 80 和 443 来替代传入连接"的复选框.然后我尝试重新启动 Apache,但再次收到错误消息.

After that I opened up my Skype and in the Connection tab, I disabled the checkobox "Use port 80 and 443 for alternatives for incoming connections". Then I tried restarting the Apache but again I got the error message.

我接下来要做的是将 httpd.conf 中的 Listen 80 更改为 Listen 1372 以及 ServerName localhost:80ServerName localhost:1372 在同一文件中.然后尝试启动 Apache,但又一次我遇到了同样的错误.

Next thing that I did was changing the Listen 80 to Listen 1372 in httpd.conf and also the ServerName localhost:80 to ServerName localhost:1372 in the same file. And then tried to start the Apache but one more time I got the same error.

我也改变了这个:

<VirtualHost _default_:443>

ServerName www.example.com:443

到此:

<VirtualHost _default_:4433>

ServerName localhost:4433

httpd-ssl.conf 文件中.但是直到现在 Apache 都无法启动并返回相同的错误消息.

in the httpd-ssl.conf file. But until now the Apache can not start and returns the same error message.

那我现在该怎么办?

推荐答案

Goto Apache config -> Apache (httpd.config) -> 更改Listen 80 to 81"

Goto Apache config -> Apache (httpd.config) -> change "Listen 80 to 81"

在浏览器上-> http://localhost:81/phpmyadmin/

这篇关于错误:Apache 意外关闭错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆