端口 443 被 http.exe、Apache、Xampp 使用

use*_*713 1 php apache xampp

我有 Xampp 的问题。它不执行我的 php 脚本。当我打开 php 文件时,php 代码出现在浏览器中。
当我打开 Xampp 时,它有这些红线:

Apache Service detected with wrong path
11:53:25 PM  [Apache]   Change XAMPP Apache settings or
11:53:25 PM  [Apache]   Uninstall/disable the other service manually first
11:53:25 PM  [Apache]   Found Path: ERROR: Not Able To Open Service Manager
11:53:25 PM  [Apache]   Expected Path: "c:\xampp\apache\bin\httpd.exe" -k runservice
11:53:25 PM  [Apache]   Problem detected!
11:53:25 PM  [Apache]   Port 443 in use by "httpd.exe"!
11:53:25 PM  [Apache]   Apache WILL NOT start without the configured ports free!
11:53:25 PM  [Apache]   You need to uninstall/disable/reconfigure the blocking application
11:53:25 PM  [Apache]   or reconfigure Apache to listen on a different port
Run Code Online (Sandbox Code Playgroud)

请帮我?我能做什么?请....提前致谢

Eni*_*Gma 5

参考这个Q

或参考此

解决此 XAMPP 问题的最简单方法是关闭 Skype,然后重新启动 XAMPP 控制面板。但这不是一个聪明的解决方案。

那么如何解决这个端口的使用问题呢?在 Skype选项:[连接] 中,有一个标记为使用端口 80 和 443 作为传入连接的替代选项的复选框。

这是根本问题,因此只需清除/取消选中它并保存即可。您可能需要重新启动 Skype。

重新启动您的 XAMPP 控制面板,错误消息现在消失了!尝试启动Apache,成功了。

如果该端口未被 Skype 使用,而是被其他应用程序(例如TeamViewer或任何其他东西)使用,该怎么办?如果是这样,那么 XAMPP 必须使用另一个端口。

如何在 XAMPP 中更改 Apache 默认端口?

请记住在进行一些更改后保存httpd.conf文件和httpd-ssl.conf

现在是时候在 XAMPP 控制面板中启动我们的 Apache。如果您在编辑这些文件方面做得很好,您应该会看到 Apache 正在运行并且端口号已更改为80804433

  • @DebsmitaPaul --> 您可能会在系统上运行另一个 apache 服务,请确保停止所有其他 apache 服务。`TASKKILL /F /IM httpd.exe /T` 这个命令会终止你的 httpd.exe (2认同)