Apache 服务器无法启动

时间:2021-07-08 12:06:49

标签: apache xampp

我使用 Xampp 作为我的网络服务器。我错误地从 Windows 的任务管理器中停止了 Apache 服务器,现在当我尝试启动它时,它显示一个错误,说无法启动 Apache 服务。

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

我尝试将端口从 80 更改为 82,但没有成功。任何人都可以提出解决这个问题的方法吗?

PS:恐怕我能看到的唯一方法是卸载然后重新安装。

1 个答案:

答案 0 :(得分:0)

您需要以特权用户身份运行它:您试图绑定一个低于 1024 的端口。 或者,您可以将 Apache 侦听的端口更改为 1024 以上的端口。