Apache shutdown unexpectedly

前端 未结 17 1837
[愿得一人]
[愿得一人] 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-13 21:04

    It means port 80 is already used by another one.

    Simply follow these steps:

    1. Open windows -> click on Run (win + R) -> type services.msc
    2. Goto IIS Admin -> Right click on it and click on Stop Option.
    3. Open XAMPP click on Start Action of Apache Module, Apache Module is run.

    OR

    For find the port of Apache (80) in Command Prompt simply type netstat -aon it displays present used ports on windows, under Local Address column it shown as 0.0.0.0:80. If it displays this port another connection is already used this port number.

    Active Connections in Windows XP:

    Active Connections in Windows XP

    I solved my problem after installing xampp-win32-1.6.5-installer previously I used xampp version xampp-win32-1.8.2-0-VC9-installer at that time I got this error. Now it resolved my problem.

提交回复
热议问题