Categories
Web Programming Windows

EasyPHP: How to change Apache server port number?

easyphp_logoProblem:
By default the Apache server port is set to 80, same as IIS server. If I want to change the default port to the port that I want.

Solution:
1. Double click on the EasyPHP icon at the system tray (the icon appears beside the clock). A popup window will appear, click once on the “e” button that appear on the left hand side> Configuaration > Apache.

easyphp_changeport

2. It will open a file called httpd.conf:

– Find the line “Listen 127.0.0.1:80” and change to “Listen 127.0.0.1:8080“,

(Optional) Find the line “ServerName localhost:80” and change to “ServerName localhost:8080

13 replies on “EasyPHP: How to change Apache server port number?”

Good article, but don´t help me. Easy php still show Another Web Server Is Using The Web Port

Hi mejibaba, what is your purpose to use a real IP? what IP you tend to use? You can change the 127.0.0.1 to any IP you wish to.

@campervan hire: Yes, you can, why i am using 8080, it is because my windows run IIS too for my projects. 😉

@Robert

I run on this just now in search for my problem, but Robert, I solve the issue with port by changing the port that my Skype uses (i.e. the Skype is configured by default to use port 80, so you have to go to the settings and change that in order to get EasyPHP to run while your Skype is on). Hope this helps.

Thanks so much for posting this! Fixed my EasyPHP issue and I’m back in action 🙂

Hello There. I found your blog the use of msn. That is a really neatly written article. I will make sure to bookmark it and return to learn extra of your helpful information. Thanks for the post. I will certainly comeback.

Thanx Filip for sharing. My EasyPHP works well, changed port 80 to 8080. Legends

Leave a Reply

Your email address will not be published. Required fields are marked *