Link to home
Start Free TrialLog in
Avatar of lsolheim
lsolheim

asked on

Using IIS and Apache together...

I have IIS installed on my development machine and wanted to install XAMPP (Apache, MySQL, PHP, etc...).  I did get everything installed and now I here I have to change the Apache port to 8080.  I tried changing the "listen" line in the "httpd.conf" file and when I tried to start Apache it ran for a few seconds and stopped.  I changed the values in the .conf file back and turned of IIS and Apache started and is running fine.

Any suggestions?

I am also wondering if I can change the port number for IIS instead of Apache since I will be using PHP much more often than IIS and ASP?  I just hate having to add the port number all the time... any help is appreciated.  I need to get this resolved quickly.
Avatar of Sam Panwar
Sam Panwar
Flag of India image

Hi,

Have you checked in the event viewer about it please check the event viewer for the error and uupdate us what is the event viewer says.

I think you are getting problem because in your system another service is also running on the 8080 so please check which service is running on that port and update me.

check port by netstat command

go to command prompt and check
Avatar of Shalom Carmel
To change port in IIS:
Open web site properties, change TCP port to whatever you fancy, restart IIS.

ShalomC
ASKER CERTIFIED SOLUTION
Avatar of rama_krishna580
rama_krishna580
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lsolheim
lsolheim

ASKER

Even though I already tried it... I changed it to 8000 instead of 8080 and for some reason now it worked.  Netstat did not show anything helpful in this situation.