I was facing problem to run IIS and Apache simultaneously. After a few tricks here is a way I have found to make it work.
To confirm my box is running on Windows 7 and IIS 7.
Assuming that you have IIS installed and trying to work with Apache and MySql. To do that I downloaded XAMPP. Install it XAMPP.
Now if we follow the following instruction then it should work fine:
1. Open C:\xampp\apache\conf\httpd.conf
a) Look for “Listen 80″, change to “Listen 8080″.
b) Look for “ServerName localhost:80″, change to “ServerName localhost:8080″
There is only one instance of both the search item.
2. Now Open C:\xampp\apache\conf\extra\httpd-ssl.conf
a) Look for “Listen 443″, change to “Listen 4499″
b) Look for “<VirtualHost _default_:443>”, change to “<VirtualHost _default_:4499>”
c) Look for "“ServerName localhost:443″, change to “ServerName localhost:4499″.
Then both IIS and Apache could run on the same box.
Test by following Urls;
1) For IIS : http://localhost/
Please remember to put port 8080 for Apache running pages.
Cheers. Please let me know if it works for you.