Pages

Wednesday, February 2, 2011

Running Joomla and Apache on same machine

I am using Win 7 iis7.Recently I installed Wamp just to try a hand on PHP.But to my amaze when I started off with my localhost It was showing iis7 content.

I figured out the problem that port 80 was configured with IIS so it could not bee allocated to Apache.

You can test this on Wamp by left clicking on Wapm icon in taskbar goto services and test port 80.

And a command window popper up showing that it was in use by Microsoft IIS.So I gave my Apache a first Aid

I just changed the port under the httpd.conf.Here is how I did it

Find a test called "Listen 80" in httpd.conf which is Apache's configuration file and change its value to "Listen 85"

Now your localhost url will be as follows

for Apache

http://localhost:85/

And for IIS

http://localhost or http://localhost:80

Browsers by default listen to port 80.

That's it

No comments:

Post a Comment