XAMPP 1.7.1 on Windows 7 RC2 Build 7100

As a php programmer I have become fond of the CakePHP framework. For this reason I have always used an easy installer for Apache, MySQL, and PHP.

XAMPP has become my favorite as it has matured over the years and works quite well under a windows platform.

When I decided to give the new Windows 7 a try I found a very strange problem. The Windows kernal is using port 80. Because of this when you go to install XAMPP apache will fail to load.

The simple fix for this is to run apache on port 8080.

To do this you go to your XAMPP directory in the apache configuration files.

c:\xampp\apache\conf

You will need to edit the file httpd.conf

In the file you will find the Listen section and you will need to change it to listen on the local host ip address 127.0.0.1 on port 8080

It should look like this:

LISTEN 127.0.0.1:8080

Then you need to scroll down and find the server name section. You will need to change it to Local Host and port 8080.

It should look like this:

ServerName localhost:8080

Save the file then restart your computer.

When you open XAMPP control panel you should see that your services are running.

 

Technorati Tags:

Leave a Reply