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

15 Responses to EasyPHP: How to change Apache server port number?

  1. Robert

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

  2. Robert

    I´am apologies. When I combinet this article with article EasyPHP: Apache Cannot Be Run. Another Web Server Is Using The Web Port Or Port Is Blocked By Firewall I solve my problem. THX !

  3. please tell me how to use my real IP instead of 127.0.0.1

  4. Jason Goh

    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.

  5. i want to remove the 8080 altogether?

  6. Jason Goh

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

Leave a Reply

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

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">