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:
- Firstly, make sure that Apache is stopped
- Make sure, Svc check box is unchecked
- Now! go to your XAMPP Folder (C:\xampp\apache\ – I installed the xampp in C:\)
- Now! double click on “apache_uninstallservice.bat” which is available in apache folder.
- 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...
-
Introduction: When I am trying to run my application which was developed using "CURL" concept, while ...
-
Recently, when I was working on a Joomla project, I forgot how to install Joomla in XAMPP Server. Bef ...
-
Hi developers, are you working on any project where in which you have used MySQL as a backend (Databa ...
-
Introduction: After going through this article you will be familiar on how to install WAMP Server, W ...
-
What are SEF URLs? The pages which are easily found by search engines are considered as a good Searc ...
-
Well today! I installed Shareaholic - SexyBookmarks widget in one of my wordpress blog. I've been wor ...
-
If you guys have Firebug installed in your Firefox browser, hmm.... then it can make Gmail slow. For ...
-
When I am running my Ajax web application, the application is rendering properly in Mozilla Firefox b ...
-
In the following article we can have a look at the ways of creating new files in Ruby programming lan ...
-
Everybody know about the usage of MailPress since 4 to 5 months, the respective features are very goo ...
52 Responses
Hi,
Your reply helped me resolving the issue..!!
Thanks a lot!
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 []
Thanks a lot, my problem was solve.
what a great knowledge….
Thanks once more.
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
Hi,
Sure!, it would help other developers as well. Please do share the same with us.
Thanks in Advance,
Vivek
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
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.
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
Thank you very much..
Lots of love..
Worked at the first go
Regards
Admin
Hi Sandeep,
Its my pleasure, thanks for your comment. Please do visit this site again and again its going to help everybody.
Thanks,
Vivek
hi
thx a lot u are the best …
you save me from firing from my job !!! hhhh
Hi Corpse,
No worries, do your best…..
Thanks,
Vivek
thanks a lot
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…:(
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 ._.
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
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.
Thanks Friend….
— Vivek
Hello.I am well into a boring sunday thanks for giving something to think about.This is a great story got me thinking,Thanks!.
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
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
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..
@zenzen yes from where we could tell the services works on port 80 or other?thx
Thanks !!
Resolved the issue in a second. Kudos…. !!!
Thanks! A lot!!!
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
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.
thanks…the services are now running
Thanks Pitso
After installation xampp server. Apache server not started in localhost.
Hi Chandu,
Check out your local services, the port might be running…..
Thanks,
Vivek
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.
Thanks, ur POC is really cool.
Great solution, thanks alot. I was having the problem with XP, the same steps worked
Cheers
Apache server will not start if skype is using port 80. So exit skype and try again with wampp and apache server will start
Nice solution. I like it. IT is very unique.
I have the same problem like “daniel” and problem solve after disable IIS services.
Thanks a lot, Admin
My Problem is not solved please do help me
after installation XAMPP-win32-1.7.4 ,mysql running but apache not running>> it looks apache service not started[-1]>>please help
That worked. Thanks!!
It worked!
@Johnoconnor99 Thanks Its working…….
Just great, thank you a lot.
thanks my friend this is so really good^^
You just rock! Thanks for helping me out with my problem.
More Kudos!!!!
I just want to say thank you man…
for sharing such wonderful information..
Thanks God Bless You
amazing.. thank you so much .. it work !! very helpfull
Finally! It worked perfectally, thanks!
Thanks Pal!
Thanks a loat !
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….