【问题标题】:Apache xampp does not startApache xampp 无法启动
【发布时间】:2018-02-28 20:38:34
【问题描述】:

我遇到了 xampp 和 Apache 以及 Apache 无法启动的老问题。 这是一台运行 xampp-win32-5.6.31-0-VC11 的 Windows 10 机器。我也试过 7.1.9-0-VC14 有同样的问题。 问题是:

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

xampp 上的日志文件为空。 我在配置文件(在互联网上找到)中将端口 80 更改为 8080 和 443 更改为 4433。我检查了 netstat 工具(在 xampp 和 powershell 上)。 xampp 上的 netstat 在端口 80、8080、443 或 4433 上没有显示任何内容。 powershell 上的 netstat -aon 给出了一个长输出,这里只有“80”:

TCP    192.168.88.125:49203   185.22.69.180:80       TIME_WAIT       0
TCP    192.168.88.125:65508   185.22.69.180:80       TIME_WAIT       0

还有这里唯一的“443”:

TCP    10.145.128.214:64112   10.144.187.242:443     TIME_WAIT       0
TCP    192.168.88.125:49320   40.77.229.18:443       ESTABLISHED     6728
TCP    192.168.88.125:49694   40.77.229.47:443       ESTABLISHED     6728
TCP    192.168.88.125:63719   2.20.161.124:443       CLOSE_WAIT      10168
TCP    192.168.88.125:64019   151.101.65.69:443      ESTABLISHED     2080

因此,在 xampps 上的 netstat 或 powershell 上的 netstat 上都不会出现 8080 或 4433。

有什么想法可能会出错吗? 顺便说一句:我没有管理员权限。但我知道具有相同权限的人能够运行 xampp。 我能够以非常接近管理员权限的方式运行安装程序——我可以准确地找出这些权限是什么。 我确实使用这些权限运行了 xampp 安装程序。

【问题讨论】:

    标签: apache xampp


    【解决方案1】:

    我无法添加评论,所以在回答部分提问。

    您是否在系统上运行 Skype 或任何代理?

    【讨论】:

    • Skype 正在运行,但我无法对其进行配置。根据 netstat 视图,端口 80、端口 8080、端口 443 和端口 4433 都不会被阻塞,如上所示。端口已在配置文件中配置为 8080 和 4433。 8080端口好像没问题,上面运行了一个zeppelin安装(注意:我没有同时运行zeppelin server和xampp apache)。
    猜你喜欢
    • 2012-11-29
    • 1970-01-01
    • 2020-10-18
    • 2018-06-18
    • 2016-02-13
    • 2016-01-08
    • 2015-11-24
    • 2013-12-06
    • 2015-02-04
    相关资源
    最近更新 更多