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

attempting to start mysql service... xampp
xampp stuck on attempting to start apache service
xampp apache not starting windows 10
error: apache shutdown unexpectedly this may be due to a blocked por
windows could not start apache 2.4 on local computer
xampp apache not starting windows 10 port 80
apache will not start without the configured ports free!
xampp apache server not starting linux

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

Where can I see the logs (I was running XAMPP as Admin) ?


IF PORT 80 IS NOT THE ISSUE!

Check to see if the port 80 is in use first as this can be an issue. You can do this by typing "netstat -an" into cmd. The look for 0.0.0.0:80 under Local Address, if you find this is in use then follow the solution from @Karthik. However, I had a similar issue but my port 80 was not in use. My XAMPP had wrong paths locations, steps to fix this:

1.Find out the Apache version you are using, you can find this by looking in Services (Control panel, Admin Tools, Services) and finding Apache in my case it was listed as Apache2.4

2.Close XAMPP.

3.Run cmd as admin.

4.execute 'sc delete "Apache2.4"' (put your version in place of mine and without the surrounding ' ', but with the " " around Apache).

5.execute 'sc delete "mySQL"', again remove the '' when you type it.

6.reopen XAMPP and try starting Apache

If you are having trouble with FileZill, Mercury, or Tomcat you could try it here too, but I have not tested that myself.

Hope this helps!

Fix XAMPP Apache Not Starting Because Port 80 In Use, I can not start Apache because of the problem mentioned below. I can not 3:08:​54 PM [Apache] Attempting to start Apache app… Using XAMPP Apache Server After Port No. >Installing service >Apache Service detected with wrong path >Change XAMPP Apache settings or >Uninstall/disable the other service manually first >Found Path: ERROR: Not Able To Open Service Manager >Expected Path: "c:\xampp\apache\bin\httpd.exe" -k run service >Successful! followed by attempting to start Apache after the service (failed


I realized it was a port issue since I was running IIS and other web servers in my machine. But I was more interested to see a detailed error message with the port number in the UI.

Seems like it was not logged in the UI or log file (at least in my case), but in the Event viewer (Control panel -> View Event Logs). Under the Even viewer -> Windows Logs -> Application

I could see a permission error something like the below one:

An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:443

To fix this permission issue for SSL port, Please change the below line in httpd-ssl.conf (C:\xampp\apache\conf\extra)

 # When we also provide SSL we have to listen to the 
 standard HTTP port (see above) and to the HTTPS port

     Listen xxx

Replace XXX with any valid port number that is open in your machine

If you are having issues with Port 80, then change the httpd.conf file (C:\xampp\apache\conf)

# Change this to Listen on specific IP addresses as shown below to 
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
 Listen 127.0.0.1:8000

I have also summarized other solutions that I came across:

  1. Most often Skype blocks the Apache port. So terminate it and try again.
  2. Find the process id (PID) that is using the Blocked port ( netstat -ano) and kill the corresponding process in Windows Task Manager.

[Solved] XAMPP Apache NOT Starting Error: Apache shutdown , for some reasons. It will simply attempt to start but then fail and ask. Run Command Prompt and type services.msc, then click OK. 2. Scroll To XAMPP Apache Unable To Start Solution. So I've just  I've just upgraded to windows 10 and found that XAMPP/WAMP Apache won't start anymore for some reasons. It will simply attempt to start but then fail and ask the user to check the Apache err


For those who have accidentally (or not) changed one of the .conf files and apache does not run even after trying all the above solutions.

One easy way to track where the issue is located, is to run Apache via command prompt:

(On windows) : open command prompt as admin then navigate inside the bin folder of Apache , next run

httpd in order to run apache

C:\xampp\apache\bin\httpd

For my case it was :

someone had added a virtual host in the specific file that caused the problem . I commented the lines and Apache ran fine.

XAMPP 'attempting to start ' ERROR - HOW TO FIX!, I cannot manage to get the XAMPP_LimeSurvey to work. I downloaded Cant start Apache/MySQL with XAMPP [I already freed ports 80 and 443!] 13:56:39 [​Apache] Attempting to start Apache app. At work yesterday I discovered that the localhost Apache web server on my PC wouldn’t start; it was running XAMPP. Each time I tried to start Apache from the XAMPP control panel I got these e…


start xampp (as administrator), (1) right click C:\xampp\xampp-control.exe, and run as administrator. (2) unistall service module and then install service module. (3) now try start the apache and mysql.

XAMPP/WAMP Apache Won't Start in Windows 10 Solution, If its windows, port 80 would be already assigned to IIS (if installed). Check if IIS is installed stop IIS and retry else  I have installed XAMPP on my windows 7 machine but can't get Apache to work. On start I get the following errors: After opening the XAMPP panel and installing Apache service: I have tried start it, it always get stuck "Starting apache service" Any advice on how I could resolve this ? Also is there any case that you may have had installed


Check your DocumentRoot path (in httpd.conf); a typo there can cause this problem.

Cant start Apache/MySQL with XAMPP, Apache WILL NOT start without the configured ports free! You need to Attempting to start Apache service Executing  One of many reasons is xampp cannot start MySQL service by itself. Everything you need to do is run mySQL service manually. First, make sure that ‘ mysqld.exe ‘ is not running, if have, end it. (go to Task Manager > Progresses Tab > right click ‘mysqld.exe’ > end task)


Starting Apache through XAMPP is not working, Starting XAMPP for Linux 7.4.4-2. Hierauf bleibt im XAMPP-Control-Panel der Apache-Start auf "Rot" und If http://localhost will still not work after that, you need to resolve click Internet Information Services (IIS) Manager The most common cause for the XAMPP Apache server not starting issue is because the default port no 80 may already be in use by another program like Skype, Teamviewer etc.


XAMPP apache server not working on port 443 and 8080., Apache doens't start not even in dreams. window on the forums 6:24:00 PM [​mysql] Attempting to start MySQL app. Hope your xampp apache not starting or xampp apache not running problem is solved now. Idiot Logics Xampp Apache not starting because of port problem solved video by Idiot Logics.


apache can't start - Apache Friends Support Forum • Search, Problems with the Windows version of XAMPP, questions, comments, and anything related.