Apache won't run in xampp

前端 未结 17 1672
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-04 12:59

I have just installed XAMPP and everything works fine except that I can\'t get apache to run. It seems that port 80 is the problem, I have disabled Skype to use port 80 but

相关标签:
17条回答
  • 2020-12-04 13:16

    Skype, try closing it and then running xampp, if it works then change the skype port to stop using port 80

    0 讨论(0)
  • 2020-12-04 13:19

    There are 2 ways to solving this problem.

    1. If you want to run Apache in another port then:Replace in xampp/apache/conf/httpd.conf "ServerName localhost:80" by "ServerName localhost:81" At line 184. After that even it may not work.Then replace
    #Listen 0.0.0.0:80
    #Listen [::]:80
    Listen 80 
    

    by

    #Listen 0.0.0.0:81
    #Listen [::]:81
    Listen 81
    

    at line 45

    1. If you want to use port 80. Then follow this. In Windows 8 “World Wide Publishing Service is using this port and stopping this service will free the port 80 and you can connect Apache using this port. To stop the service go to the “Task manager –> Services tab”, right click the “World Wide Publishing Service” and stop. If you don't find there then Then go to "Run > services.msc" and again find there and right click the “World Wide Publishing Service” and stop.

    If you didn't find “World Wide Publishing Service” there then go to "Run>>resmon.exe>> Network Tab>>Listening Ports" and see which process is using port 80

    enter image description here

    And from "Overview>>CPU" just Right click on that process and click "End Process Tree". If that process is system that might be a critical issue.

    0 讨论(0)
  • 2020-12-04 13:19

    just disable "world wide web publishing service" , it solve my problem.

    0 讨论(0)
  • 2020-12-04 13:20

    Take a look at this site:

    http://www.lukebrowning.com/blog/nt-kernel-system-using-port-80/

    In my case, it was the SQL Server Reporting Service, but others have seen IIS or the Web Deployment Agent Service.

    Open a cmd window and run services.msc, find the service, and stop it. Then try to start Apache. If it works, disable the other service.

    0 讨论(0)
  • 2020-12-04 13:20

    I had the same kind of problems. I finally made it to work.

    I successfully changed the apache ports to listen to ports not used by other programs Port 443 is used by SSL and Skype

    I believe that the XAMPP Control Panel has a bug and I have screen shots in my posts to. I do not have enough credibility on this web site to upload pictures.

    I have the whole thing written down with screen shots in the following blog posts:

    http://hodentek.blogspot.com/2014/02/one-way-to-handle-port-80-in-use-by.html http://hodentekhelp.blogspot.com/2014/02/on-installing-apache-on-windows-7-64bit.html http://hodentekhelp.blogspot.com/2014/02/do-you-want-to-change-ports-that-skype.html

    0 讨论(0)
  • 2020-12-04 13:24

    logout your account in skype.. then in xampp control panel click start from the line of Apache..

    0 讨论(0)
提交回复
热议问题