Page 1 of 1

Running Apache on a Port other then 80

PostPosted: 23. August 2012 01:17
by Ladydee
I need to run Apache n a port other then 90 because I am using windows and running IIS and what I am developing uses .Net and PHP, also I develop a lot in php. I know Microsoft has it's own php and mysql but I also love Xampp.
LadyDee

Re: Running Apache on a Port other then 80

PostPosted: 24. August 2012 17:36
by JonB
You will need to change the port in the Listen directive in \xampp\apache\conf\httpd.conf

Your profile does not mention your XAMPP version, its useful information when trying to answer a question. I was about to point you to the Apache documentaion, but I don't know the right version.

Unless you need to keep IIS running all the time, a better solution might be to stop IIS. then you don't have to worry about adding the port # to all the URL's

Good Luck
8)

Re: Running Apache on a Port other then 80

PostPosted: 25. August 2012 01:34
by Ladydee
I need to have IIS and apache running at all times. Writing in PHP and .NET, plus use PHP and MYSQL for other sites. I am using version 1.8.0.
LadyDee

Re: Running Apache on a Port other then 80

PostPosted: 25. August 2012 12:47
by JonB
A. I have told you how to accomplish what you want. That won't make it a good idea however.

B. I'll give you two alternative suggestions.

1. Install something like Virtual Box. That way you can have everything on the right ports, everything will run right and you won't have to hack your code up.
https://www.virtualbox.org/
how-to
http://lifehacker.com/5878056/try-a-new ... is-weekend

2. Invest in something like an I/O Gear KVM switch and run a second box on the same monitor keyboard and mouse.

I do both 1. and 2. Works great

Good Luck
8)


yonz