Hi everyone…
Couple of months back, I was working on a ASP.NET 1.1 application which requires IIS. The application basically fetches records from webservice and validating those records with our database.
Meanwhile I was working on an php application and it requires Apache. I was using WAMP5 ver 1.6.6 with apache 2.0.59.
Initially I have to stop IIS in order to use Apache and vice versa. As both of servers uses port 80 for all http request.
At that point, I was aware of that there must be some parameters in php configurations files which would allow me to change the http port from 80 to something else, so I just started browsing configuration files and was able to change the port from 80 to say 8080 and now both of my webservers were happy:
Now I can access my sites like;
for IIS,
for Apache
http://localhost:8080/index.php
so for php my localhost is now localhost:8080 and rest is the same.
What I did:
1. Opened the httpd.conf file 2. Searched for term 80 3. Found on first hit under parameter listen 4. Changed 80 to 8080 there 5. Restarted all wamp services. And thats it.So rather then searching for 80, you must search for listen parameter and change it
No other changes and settings required.
–
Keep Smiling
December 15, 2007 at 5:04 pm
Hey. You can run PHP on IIS
July 18, 2009 at 3:27 am
how to run iss and php parallel
December 15, 2007 at 6:04 pm
Yep, It is very possible.
How, follow the link.
http://www.faq.1and1.com/dedicated_servers/windows_server/misc/6.html
–
Rashid
February 2, 2009 at 2:05 am
thank you very much it help me so much
March 23, 2009 at 9:34 am
Thanks dude
It worked
August 13, 2009 at 9:47 am
Hey I tried to set IIS to use port 8080 and Apache to use port 80
It works, but after that the website in IIS (.aspx) was unable to access SQL.
So now I have Apache on port 8080 and IIS on port 80.
and now both website are working.
(note the Website on Apache use php+MySql)