Wampserver

1 view
Skip to first unread message

DurgaBasnet

unread,
Mar 30, 2008, 5:54:23 AM3/30/08
to libnepal
Hi friends,

I am having difficulty in running IIS and Wampserver (which is an
integrated package of PHP, MySQL and Apache Server). As said in the
Wampserver documentation, to run Wampserver, IIS must be disabled.
But some people say that both IIS and Wampserver can be run in one
machine simultaneously. As we know, IIS uses the port no. 8080. Does
anyone know how can we assign a different port no. for Wampserver
(Apache server?)

Thanks
-Durga

Prasanna Gautam

unread,
Mar 30, 2008, 6:51:37 PM3/30/08
to libn...@googlegroups.com
First of all, I'm not sure why you want to run two servers at the same time unless you were doing ASP type stuff in the IIS server. Anyways, the way you go about doing this is, look for httpd.conf file in (I'm guessing this because I don't know how windows files are saved by wampserver) <installation_directory>/httpd.conf or sometimes <installation_directory>/etc/httpd.conf and look for a line
Listen 80
change the port number to whatever you like.
Restart apache... in the usual way.

Just an additional bit of advice-- XAMPP is wayy better than most of the solutions I have used so far and with the portable version, you can carry a server in ur thumb drive :)
http://portableapps.com/apps/development/xampp



Thanks
-Durga





--
Prasanna Gautam
300 Summit Street #700248
Trinity College
Hartford, CT 06106

Bibek Paudel

unread,
Mar 30, 2008, 6:54:32 PM3/30/08
to libn...@googlegroups.com
Hi,
It should involve steps similar to these (not sure because I have
never used WAMP, i prefer LAMP:))

-find the apache configuration file (httpd.conf)
In windows, it will be inside "conf" directory in your wamp
installation directory or inside your apache installation directory.
-find a line starting with "Port" in that file. Change the value to a
port you wish. This is the port where apache will listen to. The
comments in the file are pretty clear, you can read them to understand
their use.
-Restart Apache

I think this solves your problem.
One word of caution though: backup the httpd.conf file before making
any major changes :)

Cheers !

--
Bibek Paudel.
http://blog.bibekpaudel.com.np/
==============================

Prasanna Gautam

unread,
Mar 30, 2008, 6:57:35 PM3/30/08
to libn...@googlegroups.com
On Sun, Mar 30, 2008 at 6:54 PM, Bibek Paudel <eterna...@gmail.com> wrote:

Hi,
It should involve steps similar to these (not sure because I have
never used WAMP, i prefer LAMP:))

-find the apache configuration file (httpd.conf)
In windows, it will be inside "conf" directory in your wamp
installation directory or inside your apache installation directory.
-find a line starting with "Port" in that file. Change the value to a
 
Is it port? I checked my apache installation and it was using Listen... heh.. 
Seems like I need to brush up my windows knowledge a bit.


port you wish. This is the port where apache will listen to. The
comments in the file are pretty clear, you can read them to understand
their use.
That's what I love about unix configuration files. hehe. 
Anyways, once you look at the file, it itself is self explanatory with comments and examples which will guide you. 

-Restart Apache

I think this solves your problem.
One word of caution though: backup the httpd.conf file before making
any major changes :)

Cheers !

On Sun, Mar 30, 2008 at 3:24 PM, DurgaBasnet
<basnet...@googlemail.com> wrote:
>
>  Hi friends,
>
>  I am having difficulty in running IIS and Wampserver (which is an
>  integrated package of PHP, MySQL and Apache Server).  As said in the
>  Wampserver documentation, to run Wampserver, IIS must be disabled.
>  But some people say that both IIS and Wampserver can be run in one
>  machine simultaneously.  As we know, IIS uses the port no. 8080.  Does
>  anyone know how can we assign a different port no. for Wampserver
>  (Apache server?)
>
>  Thanks
>  -Durga
>
>  >
>



--
Bibek Paudel.
http://blog.bibekpaudel.com.np/
==============================


Bibek Paudel

unread,
Mar 30, 2008, 7:03:47 PM3/30/08
to libn...@googlegroups.com
Hey :)
can't say its port or listen. But since we both wrote, one of them has
to work :) the httpd.conf file has both though.
Its been sometime since i removed windows from my box, so cant confirm
you though :)

Cheers !

Reply all
Reply to author
Forward
0 new messages