XAMPP PORT 80 is Busy / EasyPHP error in Apache co

2019-01-11 04:19发布

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.

13条回答
乱世女痞
2楼-- · 2019-01-11 04:20

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

查看更多
趁早两清
3楼-- · 2019-01-11 04:21

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:

  1. Skype: skype uses port 80/443 by default. You can change this from tools->options-> advanced->connections and uncheck the checkbox "use port 80 and 443 for addtional incoming connections".
  2. IIS: IIS uses port 80 be default so you need to shut down it. You can use the following two commands net stop w3svc net stop iisadmin
  3. SQL Server Reporting Service: You need to stop this service because it may take port 80 if IIS is not running. Go to local services and stop it.

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.

查看更多
▲ chillily
4楼-- · 2019-01-11 04:26

This problem is because port 80 is used by some other application. Try to reconfigure port.

查看更多
你好瞎i
5楼-- · 2019-01-11 04:27

Just do one thing

open skype > tools > advance or advance settings Change port 80 to something else 7395

Restart your system then start Apache

查看更多
家丑人穷心不美
6楼-- · 2019-01-11 04:27

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.

查看更多
淡お忘
7楼-- · 2019-01-11 04:33

May be Port 80 is busy with some other application like IIS. And you don't want to stop it, so you can change the apache port. Here is the way, how to do it

  1. go to the C:\xampp\apache\conf (or whichever directory you installed xampp). Now, locate the httpd.conf.
  2. Open it with any text editor (notepad or textpad) and go the line that says Listen 80
  3. Change this with any other port (for example Listen 1234)
  4. Save the file. Restart the server and go ahead.
查看更多
登录 后发表回答