Apache Service not Starting Up in XAMPP and WAMP Local Servers (SOLUTION)

0

For you to have found this page, it means you are having issues trying to get your XAMPP or WAMP local server to work. I tried ignoring posting about this but found out it will be very useful to many developers out there when a friend of mine called me up today to demand I help him solve an issue with his XAMPP installation. The problem he was referring to was the issue of Apache not starting up and showing a message like the one in the image below.

XAMPP

Well the truth is that I once encountered that same problem on my first XAMPP installation and had to pass through several processess before I was able to resolve it. If you Google the issue, the answers you will be getting will be basically on uninstalling or changing the port of some of the applications running on your PC. Although, while uninstalling or changing the port of some of the applications on your PC do work at times, it is not completely true for every user and so other methods needs to be followed. Luckily there are other ways that the port 80 and 443 issue can be resolved with having to uninstall any of the applications listening to that port on your PC.

The following software applications are among those that might actually be responsible for the problem since they tend to listen to port 80 and or 443. Just click on each of the application’s name where available to be redirected to a page where you will learn how to make it start listening to another port and thus free up port 80 and or 443 for your XAMPP or WAMP local server;

  • Make Skype Listen to another Port instead of 80 or 443
  • Change IIS Listening Port to another Instead of 80 or 443
  • How to make a Torrent client Listen to another Port instead of 80 or 443

There are other applications and software which can also interfere with Apache start up in XAMPP and WAMP local server but I only decided to show you guys how to resolve the issue with the most popular software that are majorly known to be the source of the issue. Changing the ports for the applications and software as specified above doesn’t necessarily mean you have tackled the issue since there might also be some programs and applications that might still be listening to and occupying the port 80 and 443. For other software and applications, just uninstall them and install back after you must have gotten Apache to start up.

If you have gone through all that processes above to change the port which your software is listening to and also uninstalled some of the software that is likely occupying those ports, but still nothing is working and you are still experiencing the issue, then here is what you will need to do. You will have to change the port that the XAMPP or WAMP server is listening to by following the process below;

For XAMPP:

  • Run the XAMPP server application.
  • Click on Config >>> Apache (httpd.conf).
  • XAMPP1On the notepad page that will come up, search for 80 with the help of Ctrl + F.
  • Now change all the 80 you find in that page to another port e.g. 53 or 81.
  • Finally, press Ctrl + S to apply the changes to the XAMP’s httpd.conf file.

For WAMP:

  • Run the WAMP server application.
  • Click on the WAMP icon.

WAMP

  • Go to Apache >>> httpd.conf.

WAMP1

  • Next search for 80 with the help of Ctrl + F on the notepad page that will come up.
  • Change all the 80 to another port e.g. 53 or 81.
  • Finally, press Ctrl + S to apply the change to the WAMP’s httpd.conf file.

Once you have done all that and you are still encountering the problem, then it means your World Wide Web Publishing Service is interfering with it and need to be stopped. To stop World Wide Web Publishing Service and other services that might be interfering with XAMPP or WAMP server Apache start or blank page when you visit localhost in your browser’s address bar, go through the process below

  • Run CMD (Command Prompt) as Administrator.
  • On the CMD DOS page, type in net stop http and hit Enter on your keyboard.

net stop http

  • Press y and then tap Enter on your keyboard to continue the operation.

world wide web publishing service

  • Patiently wait for the process/operation to complete. Once the programs have been successfully stopped, close CMD (Command Prompt).

Command Prompt

  • Run your XAMPP or WAMP server and then start up Apache. This time, you will notice that Apache will start up without any issues at all.

Hope that was helpful. For any issues or questions relating to this topic and post, please feel free to use the comment box below and I promise to get back to you as soon as possible.

LEAVE A REPLY

Please enter your comment!
Please enter your name here