Running Apache on a Port other then 80

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Running Apache on a Port other then 80

Postby Ladydee » 23. August 2012 01:17

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
Ladydee
 
Posts: 17
Joined: 19. February 2009 14:38

Re: Running Apache on a Port other then 80

Postby JonB » 24. August 2012 17:36

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Running Apache on a Port other then 80

Postby Ladydee » 25. August 2012 01:34

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
Ladydee
 
Posts: 17
Joined: 19. February 2009 14:38

Re: Running Apache on a Port other then 80

Postby JonB » 25. August 2012 12:47

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
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 114 guests