Can't run Wampserver 2.2 with IIS 7
Posted by: sunan (203.118.242.---)
Date: June 07, 2012 05:43PM

I use Windows 7 x64 and run IIS 7 it's not problem, but I want to run Wampserver2.2 x64 for my PHP on the same localhost. The main problem is Wampserver doesn't work as well, it show 403 forbidden even I try to change port in httpd.conf file to 8080 also. pls help.

Thanks. smiling smiley

Options: ReplyQuote
Re: Can't run Wampserver 2.2 with IIS 7
Posted by: stevenmartin99 (Moderator)
Date: June 07, 2012 05:48PM

Please rewrite - it doesn't make sense

What do u have

What do u want


You cant have IIS and WAMP unless you change port anyway

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 06/07/2012 05:50PM by stevenmartin99.

Options: ReplyQuote
Re: Can't run Wampserver 2.2 with IIS 7
Posted by: RiggsFolly (---.as13285.net)
Date: June 07, 2012 06:00PM

Have a look at this it should help you with the 403 error.

[forum.wampserver.com]


If you want to keep IIS runiing on the same machine as WAMP then you will have to change the port that one of them uses. So keep your :8080 listening port change for apache.

Options: ReplyQuote
Re: Can't run Wampserver 2.2 with IIS 7
Posted by: sunan (203.118.242.---)
Date: June 09, 2012 01:09PM

Re: stevenmartin99

I want to use both IIS7 and WAMP2.2 x64 on the same machine (Win7 x64). IIS run regular (http://localhost) but now I want to use Wampserver at the same machine by (http://localhost:8080) when use this localhost it doesn't respond and alert message that

<
Forbidden

You don't have permission to access / on this server.
>


Re: RiggsFolly

I did it already but it still get error.

Options: ReplyQuote
Re: Can't run Wampserver 2.2 with IIS 7
Posted by: stevenmartin99 (Moderator)
Date: June 09, 2012 01:56PM

can i take a look with teamviewer?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Can't run Wampserver 2.2 with IIS 7
Posted by: yfastud (Moderator)
Date: June 12, 2012 12:45AM

Theory, you can have both, but practically, they might conflict in some ways w/ any wamp package, including this wampserver suite. In additions, you can install add-on such asp.net, jsp, so on to work w/ wampserver instead running 2 webservers, and you can follow my guides here.

[guides.jlbn.net]

Anyway, if you still like to try it, make sure to test on single PC before put on main server, and here is the simplest way as far as I know

1. Configure iis running as service
2. Stop iis
3. Install wampserver (w/ option running as service)
4. Open httpd.conf in wamp/bin/apache/apache2.2.xx/conf
5. Find and change listen 80 to other port such as 81, 8080, 8181,so on
6. Enable associated port 81, 8080, so on for wampserver in all firewalls and routers
7. Restart your computer, and now you have both iis and wampserver running

For testing, you should save in new folder every time you have new project, and for testing these 2, save these 2 test index.html in their associated locations

// index.html testing asp stored in C:\Inetpub\wwwroot\testiis

<html>
<body>
<p>
IIS working
</p>
<%
Response.Write("And ASP works, too"winking smiley;
%>
</body>
</html>

// index.html testing php stored in C:\wamp\www\testwamp

<html>
<body>
<p>
WAMP working
</p>
<?php
echo 'And PHP works, too';
?>
</body>
</html>

And access them like this:

'http://localhost/testiis'
'http://localhost:8181/testwamp'

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.