Apache shutdown unexpectedly

前端 未结 17 1833
[愿得一人]
[愿得一人] 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 21:00

    In my situation I had moved the htdocs to a new location updated in httpd.conf, which worked fine. I then received the same error after updating the httpd-vhost.conf file.

    I found that the error was caused by a typo in the vhost configuration file. Previously I changed all "DocumentRoot" ’s to the new htdocs location, but had forgot to update the new location for "ErrorLog". After correcting the missing path, Apache was running smooth again.

提交回复
热议问题