ERROR: Apache service not started [-1], XAMPP SERVER

Advertisement
Post Pic

Introduction:

When I am trying to enable my XAMPP Server in Windows Vista, suddenly it has raised an error like “ERROR: Apache service not started [-1]“. Have you ever faced the same problem… If Yes! what could be the solution to resolve the same.

Here is the Solution for the same:

Below are respective steps, which you need to follow:

  1. Firstly, make sure that Apache is stopped
  2. Make sure, Svc check box is unchecked
  3. Now! go to your XAMPP Folder (C:\xampp\apache\ – I installed the xampp in C:\)
  4. Now! double click on “apache_uninstallservice.bat” which is available in apache folder.
  5. After above step, now open your XAMPP Control Panel again and click on Start button which is beside Apache, and make sure that you will not check the Svc checkbox provided.

Hope the above steps will help you a lot in resolving the issue, this has helped me…

Related Entries...

Articles which you would like to read:

You Might Like:

Advertisement

Please let us know your feedback about the article through the comments section below, we want to hear from you about our website. And your comment / advice may help us to serve you better in upcoming articles.

Thank You!
Vivekanand [Founder of DeveloperSnippets]

52 Responses

04.29.09

Hi,

Your reply helped me resolving the issue..!!
Thanks a lot!

04.29.09

Hi Sekhar,

Its my pleasure, please do visit daily… daily / weekly depending on my bandwidth I used to post articles… I hope you have enjoyed while visiting this site.

Thanks,
Vivek []

04.29.09

Thanks a lot, my problem was solve.

what a great knowledge….

Thanks once more.

04.29.09

Awesome! Works like a charm.
I have been googling and can’t find a better answer.

Btw, do I need to uncheck the Svc button next to MySql?

Thanks a lot for posting this.

Hi

Thanks for the post. Everytime I run apache start button it gives me a windows error, very strange. Alot of the time Windows updates are causing issues.

if I get it sorted I will post here.

Regards
Elemental

04.29.09

Hi,

Sure!, it would help other developers as well. Please do share the same with us.

Thanks in Advance,
Vivek

RK
04.29.09

I installed xampp (1.7.1) on my machine. Everything installed fine except at the end the installer said “could not install apache on port 80″. The xampp control panel display mysql as “running” but i’m not able to start apache. https://localhost/ is also not working. Could you please help

04.29.09

I think I followed the steps but with no success… the BAT file throws an error (System error 1060). I run again control panel but nothing happened. I cannot start apache. I think the 4th step is the same as uncheck the apache service. It seems to do the same.

04.29.09

Hey there,

Thanks alot i was really lost with this problem and kept on installing again and again. But why is it so? is it a bug from xampp or what?

Anyways you were just great help .

thanks
Menon

sandeep
04.29.09

Thank you very much..

Lots of love..

Worked at the first go

Regards
Admin

04.29.09

Hi Sandeep,

Its my pleasure, thanks for your comment. Please do visit this site again and again its going to help everybody.

Thanks,
Vivek

04.29.09

hi

thx a lot u are the best …

you save me from firing from my job !!! hhhh

04.29.09

Hi Corpse,

No worries, do your best…..

Thanks,
Vivek

04.29.09

thanks a lot

04.29.09

hi,
my apache says Started [Port 80],
but it does not show RUNNING.
i tried to uninstall but it says service could not be started…:(

04.29.09

hi,
my apache says started…but it does not show RUNNING….
and i can’t proceed from here.
i also tried uninstalling but service cannot be started…:(
what could be the problems ._.

04.29.09

Hi Daniel,

As you are saying some service is running on Port 80, just check out the same in Services. Control Panel -> Administrative Tools -> Services , just check what is running in Port 80, if anything is running just try to stop that one and then check restarting your XAMPP Server. This might work, if you have IIS installed in your system then try to stop that service before starting XAMPP Server.

Hope this might help you, if no -> please do elaborate what you have done… like some brief

Thanks,
Vivek

Joomla Migration
04.29.09

This just solved the problem for me. i was about to uninstall the software and find an alternative and just found your site. Great!

Thanks so Much.

04.29.09

Thanks Friend….

— Vivek

04.29.09

Hello.I am well into a boring sunday thanks for giving something to think about.This is a great story got me thinking,Thanks!.

04.29.09

I installed xampp-win32-1.6.3a-installer on my machine. Everything installed fine except at the end the installer said “could not install apache on port 80″. The xampp control panel display mysql as “running” but i’m not able to start apache. https://localhost/ is also not working. Could you please help

04.29.09

Hi Aman,

Does anything is running on port 80, before installing XAMPP? if yes! go to control panel -> Administrative Tools -> Services, check if anything is running on port 80, if yes! stop that service and run your XAMPP.

This might help you Aman, please let me know if you face anything…

Thanks,
Vivek

04.29.09

have the same problem..

I’ve tried your last suggestion..but..
how do i know if the service is running on port 80..
there is no displayed port..
thanks..

04.29.09

@zenzen yes from where we could tell the services works on port 80 or other?thx

04.29.09

Thanks !!

Resolved the issue in a second. Kudos…. !!!

timur
04.29.09

Thanks! A lot!!!

04.29.09

Hi. I had this problem a while back and it wrecked my head. But I solved it by turning off skype before running xampp. Skype uses port 80 and so it was taking over the port before xampp http got a chance to. If you would like to leave skype running at the same time you can assign a different port number to it in its settings.

Hope this is of help to somebody

04.29.09

https://www.php-editors.com/forums/apache-help/4983-help-using-apache-xampp.html

If XAMPP Apache won’t start…
and your not running IIS…
and you’re not running Skype…

Continue reading. Solution below (Windows)

First, open C:\xampp\apache\logs\error.log and see what the error is.

If the error says that a port is already in use, the instructions below will explain how you can determine which application is using that port (Windows).

My error log entry said that Port 443 was already being used (and I wasn’t running IIS or Skype)

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down

To determine which application is using Port 443 (or port 80), do the following (Windows)

1. Open a DOS window – Start | Run | “CMD”
2. Type the following: netstat -aon
3. Find the local address using :443 (example: 127.0.0.0:443)
4. Now find the PID associated with that active connection (last column) – This is the application that’s using that port.

To figure out what application is associated with that PID, do the following:
5. Open Task Manager (Ctrl+Alt+Del) and select the Processes tab.

By default, you will only see the following columns in the Process Tab:
– Image Name
– UserName
– CPU
– Mem Usage

6. From the dropdown menu, Click “View” and then “Select Columns…”
7. Place a check next to PID (Process Identifier) – you will now be able to see the PID for each application running
8. Find which process is associated with the PID

You have now identified which application is screwing up your Apache Service.

btw, my problem was PMB.EXE, which is Pando Media Booster. Pando Media Booster is the Peer-to-Peer downloader client for Dungeons and Dragons Online. As soon as I uninstalled it, Apache started no problem.

I hope that helped.

04.29.09

thanks…the services are now running

04.29.09

Thanks Pitso

04.29.09

After installation xampp server. Apache server not started in localhost.

04.29.09

Hi Chandu,

Check out your local services, the port might be running…..

Thanks,
Vivek

04.29.09

Hey,

Thanks for posting these fixes. It just fixed it up in no time. We’ll I never take time to post comments, after getting resolution or finding something that helps. Now its time that i start appreciating. After all the hair i Have lost scratching.

Keep up, Amigo.

04.29.09

Thanks, ur POC is really cool.

Ahmed
04.29.09

Great solution, thanks alot. I was having the problem with XP, the same steps worked

Cheers

Ranjith
04.29.09

Apache server will not start if skype is using port 80. So exit skype and try again with wampp and apache server will start

KJ
04.29.09

Nice solution. I like it. IT is very unique.

04.29.09

I have the same problem like “daniel” and problem solve after disable IIS services.

Thanks a lot, Admin

Ayyan
04.29.09

My Problem is not solved please do help me

04.29.09

after installation XAMPP-win32-1.7.4 ,mysql running but apache not running>> it looks apache service not started[-1]>>please help

04.29.09

That worked. Thanks!!

igcompany
04.29.09

It worked!

Rajneesh Singh
04.29.09

@Johnoconnor99 Thanks Its working…….

Welington Cruz
04.29.09

Just great, thank you a lot.

samuel
04.29.09

thanks my friend this is so really good^^

04.29.09

You just rock! Thanks for helping me out with my problem.

More Kudos!!!!

04.29.09

I just want to say thank you man…
for sharing such wonderful information..
Thanks God Bless You

04.29.09

amazing.. thank you so much .. it work !! very helpfull :)

04.29.09

Finally! It worked perfectally, thanks!

04.29.09

Thanks Pal!

04.29.09

Thanks a loat !

Bishan
04.29.09

Hello…
After installation XAMPP-win32-1.5.2, mysql and apache not running>>
it looks..
apache service not started[-1]
mysql service not started[-1]

Please help me….

Leave Your Response