Tim*_*moo 8 php windows apache xampp installer
我已经迈出了学习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**
Run Code Online (Sandbox Code Playgroud)
有人可以告诉我这意味着什么以及我如何补救它?非常感谢.
teo*_*teo 13
似乎端口80和443被另一个程序使用.从我的经验 - 打开Skype.转到工具 - >选项 - >高级 - >连接.请取消选中"使用端口80和443替代......"
然后,尝试重新启动Apache.
我试过这个,效果非常好......
正如您已经发现端口 80 正在被 pid 4 的东西使用
可以使用任务管理器窗口上的详细信息选项卡查看此应用程序的详细信息。
但是我发现该应用程序不可写,因此我认为不应该触及它。
相反,我将 xampp 上的 apachae 服务器的端口更改为 85
打开 xampp 并单击 apache 前面的配置,然后选择出现的第一个选项,允许您打开 httpd.conf,然后在打开的记事本文件中,找到单词 listen 并转到它找到的第 4 个单词。
它将读取类似 Listen 80 的内容
将此更改为除 80(如 85)以外的任何数字,瞧它工作