Apache 配置文件中的 XAMPP PORT 80 是 Busy / EasyPHP 错误:
这个问题彻底困扰了我一整天。我重新格式化了我的旧 Windows XP 组件并尝试安装 XAMPP,却发现当我尝试启动 Apache xampp 时声称端口 80 正忙......这意味着什么?
所以我尝试卸载并移动到 EasyPHP,当我安装时,我收到错误“Apache 配置文件中的错误:系统无法执行指定的程序”
不,我没有 Skype 或任何其他真正与此相关的程序这一点,就像我说的,我刚刚重新格式化,所以我不知道发生了什么。
我很想解决这个问题,但如果你给我留下答案,请具体说明方向,因为我只是编程,从来没有接触过 IT 和使用命令行,不适合我的东西并没有多大乐趣。
This problem has completely shot my entire day. I reformatted my old windows XP comp and tried installing XAMPP only to find that when i try to start Apache xampp claims port 80 is busy....WHAT DOES THAT EVEN MEAN?
So I tried just uninstalling and moving to EasyPHP instead and when I installed that I get the error "error in Apache configuration file: the system cannot execute the specified program"
No, I do not have Skype or any other programs really for that matter at this point, like I said I JUST REFORMATTED so idk whats going on.
I would love to get this fixed, but if you leave me a answer please be specific on directions bc I'm only programming, never been to big on IT and playing with command lines and what not for me isn't to much fun.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(13)
释放端口 80 需要做的事情:
启动 apache 后,您就可以登录 Skype。
Things to be done to free port 80:
Once you start apache, you can sign into skype.
一次只有一个进程可以使用 80 端口。端口 80 是 Web 服务器的默认端口,因此当您通过 HTTP 导航到网站时,实际上默认导航到该服务器的端口 80(当您使用 HTTPS 时,该端口为 443)。
您可以尝试查找在端口 80 上运行的所有程序,但有一种更简单的方法可以用于开发。运行XAMPP时,单击“Apache”下的“Config”。将
Listen 80
替换为Listen 8080
,并将ServerName localhost:80
替换为ServerName localhost:8080
。然后,当您想查看您的杰作时,请在浏览器中导航至
http://localhost:8080
。Only one process can use port 80 at a time. Port 80 is the default port for web servers, so when you navigate to websites over HTTP, you are actually navigating to that server's port 80 by default (when you use HTTPS, the port is 443).
You can try to hunt down all the programs that are running on port 80, but there's an easier way that will work for development. When running XAMPP, click "Config" under "Apache". Replace
Listen 80
withListen 8080
andServerName localhost:80
toServerName localhost:8080
.Then, when you want to look at your masterpiece, navigate to
http://localhost:8080
in your browser.SQL Server Reporting Services (SSRS)
即使您卸载 SQL Server,SSRS 也可以保持活动状态。
要停止该服务:
打开 SQL Server 配置管理器。
在左侧窗格中选择“SQL Server 服务”。
双击“SQL Server 报告服务”。
点击停止。
切换到服务选项卡并将启动模式设置为“手动”。
Skype
令人恼火的是,Skype 可以切换到端口 80。要禁用它,请选择
工具 >选项>高级>连接
,然后取消选中“使用端口 80 和 443 作为传入连接的替代端口”
。IIS (Microsoft Internet Information Server)
对于 Windows 7(或 vista),它是最有可能的罪魁祸首。您可以从命令行停止该服务。
打开命令行
cmd.exe
并键入:对于旧版本的 Windows,键入:
其他
如果这不能解决问题,则需要进一步的检测工作(如果 IIS、SSRS 和 Skype)不怪。在命令行中输入以下内容:
将列出活动的 TCP 地址和端口。找到本地地址“0.0.0.0:80”的行并记下 PID 值。启动任务管理器。导航到“进程”选项卡,如有必要,单击“查看”>“进程”。选择列以确保选中“PID(进程标识符)”。您现在可以找到上面记下的 PID。描述和属性应帮助您确定哪个应用程序正在使用该端口。
SQL Server Reporting Services (SSRS)
SSRS can remain active even if you uninstall SQL Server.
To stop the service:
Open SQL Server Configuration Manager.
Select “SQL Server Services” in the left-hand pane.
Double-click “SQL Server Reporting Services”.
Hit Stop.
Switch to the Service tab and set the Start Mode to “Manual”.
Skype
Irritatingly, Skype can switch to port 80. To disable it, select
Tools > Options > Advanced > Connection
then uncheck“Use port 80 and 443 as alternatives for incoming connections”
.IIS (Microsoft Internet Information Server)
For Windows 7 (or vista) its the most likely culprit. You can stop the service from the command line.
Open command line
cmd.exe
and type:For older versions of Windows type:
Other
If this does not solve the problem further detective work is necessary if IIS, SSRS and Skype are not to blame. Enter the following on the command line:
The active TCP addresses and ports will be listed. Locate the line with local address “0.0.0.0:80″ and note the PID value. Start Task Manager. Navigate to the Processes tab and, if necessary, click View > Select Columns to ensure “PID (Process Identifier)” is checked. You can now locate the PID you noted above. The description and properties should help you determine which application is using the port.
在命令提示符下运行:
netstat -ano | find ":80"
它会显示什么进程 (PID) 正在侦听端口 80。
从那里您可以打开任务管理器,确保您在列视图选项中选择了 PID,然后找到匹配的 PID 来查找这是什么过程。
如果它是 svchost.exe,您将不得不挖掘更多内容(请参阅
tasklist /svc
)。我最近遇到了这种情况,而且它也不是像 Skype 这样的流行答案,可能是 Adobe、Java,任何真正的答案。
Run this in command prompt:
netstat -ano | find ":80"
It will show you what process (PID) is listening on port 80.
From there you can open task manager, make sure you have PID selected in columns view option, and find the matching PID to find what process it is.
If its svchost.exe you'll have to dig more (see
tasklist /svc
).I had this happen to me recently and it wasn't any of the popular answers like Skype either, could be Adobe, Java, anything really.
端口 80 可能正忙于其他应用程序(例如 IIS)。如果你不想停止它,可以更改apache端口。方法如下..
httpd.conf
。Listen 80
的行,Listen 1234
)更改此内容Port 80 might be busy with other application like IIS. If you don't want to stop it, you can change the apache port. Here is the way..
httpd.conf
.Listen 80
Listen 1234
)当其他应用程序正在使用同一端口时,xampp 端口 80 正忙。可以使用以下方法之一解决此问题:
只需在xampp安装中找到httpd.conf文件并替换以下代码行即可。
到您选择的任何端口号。这里,我取了8000。
在同一个文件httpd.conf中找到以下代码
替换为以下内容,取与上面代码中使用的相同的数字。
有关详细答案,请检查 http: //webolute.com/blog/programming/this-may-be- due-to-a-blocked-port-missing-dependencies
xampp port 80 is busy when some other application is using the same port at that time. This can be solved by using one of the following methods:
Just find the httpd.conf file in xampp installation and replace the following line of code.
to any port number of your choice. Here, i have taken 8000.
Find the following code in the same file httpd.conf
Replace with the following, take the same number you have used in upper code.
For detailed answer, check http://webolute.com/blog/programming/this-may-be-due-to-a-blocked-port-missing-dependencies
只需做一件事
打开 skype >工具>高级或高级设置 将端口 80 更改为其他端口 7395
重新启动系统,然后启动 Apache
Just do one thing
open skype > tools > advance or advance settings Change port 80 to something else 7395
Restart your system then start Apache
我发现在较新的 Windows 安装上占用端口 80 的最大罪魁祸首是此列表中的 BranchCache 服务 (#3)...
SQL Server Reporting Services
Web部署代理服务
BranchCache
万维网发布服务
这4个服务大概覆盖了90%占用端口 80 的本机 Windows 服务。
另外 10% 是隐藏的 HTTP.sys 服务/驱动程序,当其他服务请求时,它会占用端口 80。运行此命令以禁用它,然后重新启动。
除了 Skype 之外,TeamViewer 也是非常常用的安装软件,如果没有进行其他配置,它将占用端口 80。
列表取自: Opening为 Apache 在 Windows 上使用端口 80
I've found that the biggest culprit for taking up port 80 on newer Windows installs is the BranchCache Service (#3) in this list...
SQL Server Reporting Services
Web Deployment Agent Service
BranchCache
World Wide Web Publishing Service
These 4 service probably cover 90% of the native Windows Services that take up port 80.
The other 10% is the hidden HTTP.sys service/driver which takes port 80 when another service requests it. Run this to disable it, and reboot.
Aside from Skype, TeamViewer is also very commonly installed software, and will take port 80 if not configured otherwise.
List taken from: Opening Up Port 80 For Apache to Use On Windows
如果您正在运行VMWare Workstation,则还需要停止VmWare Workstation服务器端口443
If you are running VMWare Workstation , you need to stop the VmWare Workstation server - port 443 as well
所以我在尝试启动apache服务时遇到了同样的问题,我想与您分享我的解决方案。
以下是有关可能使用端口 80 的服务或程序的一些说明:
高级 -> 连接并取消选中复选框“使用端口 80 和 443 进行其他传入连接”。
网络停止w3svc
net stop iisadmin
这些选项非常适合我,我可以毫无错误地启动 apache 服务。
另一个选项是从 httpd.conf 更改 apache 监听端口并设置另一个端口号。
希望这个解决方案可以帮助任何再次面临同样问题的人。
So I have faced the same problem when trying to start apache service and I would like to share my solutions with you.
Here is some notes about services or programs that may use port 80:
advanced->connections and uncheck the checkbox "use port 80 and 443 for addtional incoming connections".
net stop w3svc
net stop iisadmin
These options work great with me and I can start apache service without errors.
The other option is to change apache listen port from httpd.conf and set another port number.
Hope this solution helps anyone who face the same problem again.
发生这种情况是因为系统中运行的其他一些程序正在使用 xampp/easy php 中的 apache 服务器用于 http 服务的默认端口 80。
某些程序(例如 Skype)通常使用端口 80。
所以找到这样的程序并将其删除...
要查找侦听端口 80 的程序,请参阅 80端口监听程序
This happens because some other programs running in your system is using the default port 80 used for http service by apache server in xampp/easy php.
Some programs like skype usually use port 80.
so find such program and remove it ...
For finding programs listening port 80 refer Port 80 listening programs
尝试从任务管理器 -> 服务中查找正在阻止该服务的 PID 上运行的服务。
如果这没有帮助,请转到
任务管理器 -> 服务
转到窗口右下角的“服务”按钮并停止“Web 部署代理服务”。重试启动 Apache 。这可能会解决问题。
Try finding the Service running on the PID that is blocking the service from Task manager->Services
In case this isn't of help go to
Task Manager->Services
Go to the Services button on bottom right of window and stop the Web Deployment Agent Service. Retry starting Apache . That might solve the problem.
此问题是因为端口 80 被其他应用程序使用。尝试重新配置端口。
This problem is because port 80 is used by some other application. Try to reconfigure port.