【问题标题】:i change the "Listen 80" line to "Listen 8080" in config apache but still it doesn't work我在配置 apache 中将“Listen 80”行更改为“Listen 8080”,但它仍然不起作用
【发布时间】:2017-08-18 07:23:45
【问题描述】:

我的 apache 没问题,但是当我更新我的 php 时,Apache 将无法启动并且 xampp 说“端口 80 正在被 PID 4 的“无法打开进程”使用!”我在配置 apache 中将“Listen 80”行更改为“Listen 8080”,但 apache 说“端口 80 正在被 PID 4 的“无法打开进程”使用!”

【问题讨论】:

  • 您是否尝试过关闭并重新打开计算机?
  • 你必须重启apache服务器
  • 听起来你有 IIS 正在运行,这也是一个 Web 服务器,所以会捕获端口 80.. 看到这个答案stackoverflow.com/questions/35220041/…

标签: php apache xampp


【解决方案1】:

反转你所做的一切并转到 xampp 文件夹并搜索 xampp-control.ini

查找[ServicePorts]并将其下方的行更改为Apache=8080

【讨论】:

    猜你喜欢
    • 2021-07-18
    • 2012-10-22
    • 1970-01-01
    • 2019-05-04
    • 1970-01-01
    • 2016-12-16
    • 2016-03-01
    • 2015-02-14
    • 2017-04-03
    相关资源
    最近更新 更多