XAMPP - Apache could not start - Attempting to start Apache service

后端 未结 20 1740
悲哀的现实
悲哀的现实 2020-12-31 09:27

While trying to start Apache using XAMPP, I was receiving - \"Attempting to start Apache service...\" message in XAMPP UI. No further details were availabl

相关标签:
20条回答
  • 2020-12-31 10:00

    Solution for my particular scenario (It had been working a couple days before getting borked):

    Port 80 was not the problem, but something I had done while messing around with Services and Startup.

    1. Type msconfig on Windows' Start menu
    2. Click System Configuration

    Screenshot for System Configuration

    1. In the Services tab, search for Apache24 (Click "Hide all Microsoft services" in the checkbox at the bottom of the window to make it easier to find)
    2. If its checkbox isn't checked, check it

    If it was already checked, then this guide isn't going to help. However if it is:

    1. Click OK, your PC will have to restart
    2. Try once again! In my case Apache was already running once I opened Xampp
    0 讨论(0)
  • 2020-12-31 10:00

    In my case, with the same problem and Xampp window, I had copied \apache\conf\extra\httpd-vhosts.conf entries from an old Xampp version to a newly installed one so I could continue to open local projects in browsers. One of the vhosts paths was wrong. After deleting that entry Apache started without problem.

    The reference by @Karthik to "in the Event viewer (Control panel -> View Event Logs" saved me time. It's all too easy to presume Xampp logs will point to the problem. It doesn't.

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