Friday, January 22, 2010

Installing WAMP and the port 80 problem


You can download WAMP server from here.

The initial setup screen looks like this


Follow the instructions to install and once you are done installing, launch the WAMP server.

Technically if you don't have any other service running on port 80 you are good to start. However, if there is a service running on port 80, WAMP will not work when launched. Following is an illustration to depict the scenario when IIS is running on port 80.




In Step 2 we will configure Apache.

You can also navigate to the main page.

Configuring WAMP on port 8080


WAMP - Windows+Apache+MySQL+PHP is a commonly used testing platform for PHP developers.

By default, the WAMP package comes configured for port 80 on the localhost. This can be a problem for users who have IIS or other applications like skype running on port 80.

This tutorial focuses on configuring WAMP on port 8080 on the localhost. Why 8080? Technically it can be any legally allowed port number. 8080 is a common choice for the developers.

I have carefully divided this tutorial into the following sections with illustrations. Please click on the following links sequentially.

  1. Installing WAMP and the port 80 problem
  2. Tweaking the Apache Configuration
  3. Tweaking the WAMP manager configuration
  4. Tweaking phpMyAdmin configuration (long but simple process)
Finally, when you login to the phpMyAdmin interface you should have a screen that resembles the following:


Good luck developing in WAMP.