php - 为什么 Apache 不能在 XAMPP 安装中启动?

标签 php windows apache installation xampp

我已经迈出了学习 PHP 的第一步 - 认为这是朝着正确方向迈出的重要一步。但是,我需要一些有关安装 XAMPP 的帮助。我已经通过 Apache Friends 站点下载了文件和所有这些文件,但是当我前往控制面板时,我遇到了很多错误。

这就是它对我说的:

**10:21:53  [Apache]    Problem detected!
10:21:53  [Apache]  Port 80 in use by "Unable to open process" with PID 4!
10:21:53  [Apache]  Apache WILL NOT start without the configured ports free!
10:21:53  [Apache]  You need to uninstall/disable/reconfigure the blocking application
10:21:53  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
10:21:53  [Apache]  Problem detected!
10:21:53  [Apache]  Port 443 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 3748!
10:21:53  [Apache]  Apache WILL NOT start without the configured ports free!
10:21:53  [Apache]  You need to uninstall/disable/reconfigure the blocking application
10:21:53  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
10:21:53  [main]    Starting Check-Timer
10:21:53  [main]    Control Panel Ready**

有人可以告诉我这是什么意思以及我该如何补救吗?非常感谢。

最佳答案

看来80和443端口被别的程序占用了。根据我的经验 - 打开 Skype。转到工具 -> 选项 -> 高级 -> 连接。请取消选中“使用端口 80 和 443 作为替代方案......”

enter image description here

然后,尝试重新启动 Apache。

关于php - 为什么 Apache 不能在 XAMPP 安装中启动?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18760628/

相关文章:

c# - Windows服务中Application.ExecutablePath的等价物是什么

apache - 如何将基于 www 的 URL 动态重定向到同一 VirtualHost 中具有多个域的非 www URL

apache - 拒绝子目录 htaccess 中的所有内容,而不是覆盖根 htaccess 中的文件规则

php - 如何在 Laravel 5 中的每个相关输入字段旁边显示验证错误?

php - 既然不推荐使用 fetchAll() 和 FetchMode,如何将结果提取到自定义对象中?

php - 允许来自任何语言的字母(如 "ñ")的正则表达式

Windows Mobile 6.5 C# 开发 : Where to start?

php - 使用 PHP 准备好的语句从 SQL 数据库显示 HTML 图像

python - 当我更改图标时,Pyinstaller exe 不工作

apache - 无法可靠地确定服务器的完全限定域名...如何在 Docker 中解决?