how to Change Apache Port 8080 – Apache not running in xampp

By | September 25, 2016

how to Change Apache Port 8080

Today i have a great post for you about ” how to Change Apache Port 8080 ” if Apache not running in xampp server. In many causes when you install Xampp server to you local host  (windows), sometimes you  may get error while starting Apache like

you system already use port 80 and 334 etc.Or other program is running on the same port which force your Apache server to stop.

The reason is mostly we have Skype install in our systems which use the port 80 by default.that’s why Apache server did not start its working.

Now what we have to do in this case.Delete the Skype! no not a good deal.i have a trick for you in this case.

By using this trick you can run both Apache as well as Skype at a same time.it is quite simple and easy.
Do some steps and you have done :) . you may also like to read How to install WordPress on xampp windows 7, 8.

Solution of this problem:-

  1. goto Xampp folder
  2. goto Apache folder inside the Xampp
  3. look for conf folder
  4. look for file name httpd in conf folder and open that file into notepad.(remember only open that file into notepad no other editor).
  5. look for the lines shown in figure below and change the port 80 to 8080.
  6. now run Apache it will run correctly.

how to Change Apache Port 8080 [howpk.com]

how to Change Apache Port 8080 [howpk.com]

that all we have to do :)
now open your browser and type localhost:8080 and hit enter.See your local server is running correctly.the only change while accessing your website use :8080 after local host as we change the port of Apache.

Now can make you dynamic website in php easily.if you are looking for Tutorials on how to make dynamic website in php.
if you have any issue or problem regarding this case feel free to comment on us.we are here to help you.

if you got this article helpful for you then appreciate us by like our site and share it in you social media networks.

you may also love to read how to make secure login in php with sessions.

Author: Tanvir Zafar

Tanvir Zafar is a internet Entrepreneur and owner of this site and many others as well. He is student in GCUF doing BS Software Engineering. :)