Im using windows 7 ultimate 64-bit. I have wampserver installed which installs apache, mysql , and php as all of us know. I am now familiar with php. And now I want to learn asp.net. Which needs IIS to run. I'm just a beginner and I'm not familiar with apache configurations. Is there another way of running asp files in apache?How can I run both apache and iis on the same machine.
closed as off-topic by masegaloeh, Ward♦, mdpc, HopelessN00b Mar 30 '15 at 4:30
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – masegaloeh, mdpc, HopelessN00b
locked by HopelessN00b Mar 30 '15 at 4:30
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.
Read more about locked posts here.
Another option is to run just IIS, which can be used to serve PHP as well.
If you set it up running on different ports it works just fine. I did run setup like that on windows server 2008 R2,windows 7 pro 64 bit;
2003 and XP pro 32 bit,
If you need all features of IIS and Apache with PHP, you can install both in different ports, or using differents IP Addresses.
You can use WAMP or XAMPP (phpmyadmin is included on the package installer), very easy to install an let you start your apache as service.
If you are looking for IIS to listen port 80 and apache on port 81, also you have to change apache SSL port, because IIS use 443.
If you want to use both on port 80, you can add to your Windows one virtual IP to the Local Conection, under TCP/IP Properties.
You will use your default static IP for IIS and the apache will use the virtual IP.
Then, add some entries on your c:\windows\system32\drivers\etc\hosts, like:
Try to start both services.
If you have any problems starting IIS, take a look at this article
Ask me if you have further questions.
For Apache there is a mod, http://sourceforge.net/projects/mod-aspdotnet/ And here is a HowTo: http://weblogs.asp.net/israelio/archive/2005/09/11/424852.aspx If you want to run Apache and IIS on the same server, you just need to change Apache's Port (in apache(2).conf or ports.conf or ... / dunno your setup) and install IIS.
I have not tried installing both IIS and Wamp on Windows7 yet, but i have installed IIS and Wamp on windows XP. I think it would work on windows7 also. I had IIS installed. In the Control Panel->Administrative Tools->Services window, search for IIS and stopped it. Installed WAMP and started working on it. Whenever i needed Wamp, i stopped IIS and started wamp.
Alternatively, we can install IIS and wamp to listen on different ports. But haven't tried it yet.
You need to change the port number of either apache or IIS. By default they both use the same port (80). You can change the IIS port by going to IIS manager.
For changing the default port number for apache you need to make few changes to your httpd.conf file.