Apache won't run in xampp

前端 未结 17 1669
佛祖请我去吃肉
佛祖请我去吃肉 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: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.

提交回复
热议问题