Apache shutdown unexpectedly

前端 未结 17 1801
[愿得一人]
[愿得一人] 2020-12-13 20:27

I am using XAMPPS to host PHP files from my machine. I have recently installed XAMPPs but I am unable to start Apache service as port 80 is in use by PID 4 - NT Kernel &

17条回答
  •  北海茫月
    2020-12-13 20:39

    I have also faced the same issue while installing the XAMPP. The reason being the port 80 as configured in httpd.conf is already in use in other application (eg., in Skype). You can change the port value in httpd.conf to 8080 or other number. Click on config icon and open http.conf file. Search for 80 and do the following steps

    In httpd.conf change
    Listen 80 to Listen 8080
    and
    ServerName localhost:80 to
    ServerName localhost:8080

    You can check the ports used currently by clicking on netstatt icon in the XAMPP Control Panel

提交回复
热议问题