【发布时间】:2014-02-20 14:59:26
【问题描述】:
在我的笔记本电脑上安装新版本的 Xampp 后,我收到以下错误:
控制面板中的错误日志:
9:24:26 AM [Apache] Problem detected!
9:24:26 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!
9:24:26 AM [Apache] Apache WILL NOT start without the configured ports free!
9:24:26 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
9:24:26 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
9:24:26 AM [Apache] Attempting to start Apache app...
9:24:26 AM [Apache] Status change detected: running
9:24:27 AM [Apache] Status change detected: stopped
9:24:27 AM [Apache] Error: Apache shutdown unexpectedly.
9:24:27 AM [Apache] This may be due to a blocked port, missing dependencies,
9:24:27 AM [Apache] improper privileges, a crash, or a shutdown by another method.
9:24:27 AM [Apache] Press the Logs button to view error logs and check
9:24:27 AM [Apache] the Windows Event Viewer for more clues
9:24:27 AM [Apache] If you need more help, copy and post this
9:24:27 AM [Apache] entire log window on the forums
Netstat 的输出
TCP 0.0.0.0:80 MW70VRC49LC8OO:0 LISTENING
TCP 0.0.0.0:135 MW70VRC49LC8OO:0 LISTENING
TCP 0.0.0.0:445 MW70VRC49LC8OO:0 LISTENING
TCP 0.0.0.0:8000 MW70VRC49LC8OO:0 LISTENING
TCP 0.0.0.0:8883 MW70VRC49LC8OO:0 LISTENING
TCP 0.0.0.0:12680 MW70VRC49LC8OO:0 LISTENING
TCP 0.0.0.0:49152 MW70VRC49LC8OO:0 LISTENING
TCP 0.0.0.0:49153 MW70VRC49LC8OO:0 LISTENING
TCP 0.0.0.0:49154 MW70VRC49LC8OO:0 LISTENING
TCP 0.0.0.0:49155 MW70VRC49LC8OO:0 LISTENING
TCP 0.0.0.0:49158 MW70VRC49LC8OO:0 LISTENING
TCP 10.23.121.46:139 MW70VRC49LC8OO:0 LISTENING
TCP 127.0.0.1:4242 MW70VRC49LC8OO:0 LISTENING
TCP 127.0.0.1:60544 MW70VRC49LC8OO:0 LISTENING
TCP [::]:80 MW70VRC49LC8OO:0 LISTENING
TCP [::]:135 MW70VRC49LC8OO:0 LISTENING
TCP [::]:445 MW70VRC49LC8OO:0 LISTENING
TCP [::]:8000 MW70VRC49LC8OO:0 LISTENING
TCP [::]:8883 MW70VRC49LC8OO:0 LISTENING
TCP [::]:49152 MW70VRC49LC8OO:0 LISTENING
TCP [::]:49153 MW70VRC49LC8OO:0 LISTENING
TCP [::]:49154 MW70VRC49LC8OO:0 LISTENING
TCP [::]:49155 MW70VRC49LC8OO:0 LISTENING
TCP [::]:49158 MW70VRC49LC8OO:0 LISTENING
我什至在 Skype > 选项 > 高级 > 连接 > 取消勾选选项中禁用了端口 80,443:使用端口 80 和 443 作为传入连接的替代选项。 我知道 Skype 和 Xampp 的端口存在冲突问题,因此我被告知要从 Skype 禁用它。
我需要事先进行配置吗,因为我有另一台笔记本电脑,在上面安装和启动 Apache 模块没有任何问题。
不胜感激。
【问题讨论】:
-
发布 netstat -a | 的输出查找 /i "列表"
-
我是否将其复制并粘贴到 Shell 程序中?我对 Xampp 有点陌生。没有充分探索它的能力等等。
-
是的,从命令行运行它。
-
@EugenRieck 我已经用输出编辑了我的问题。请验证这是否是应该输出的正确输出。
-
好的,我们现在可以确定,另一个 Web 服务器正在端口 80 上运行。您需要删除它或将 Apache 移动到另一个端口。由于我知道这是 WAMP 版本升级,因此“W”告诉我先重新启动并重试。