|
Home > Archive > Apache Server configuration support > August 2006 > Starting Apache on port 8080
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Starting Apache on port 8080
|
|
| Noggin 2006-08-13, 7:31 pm |
| Hi,
I'm a complete beginner with Apache - in fact so far not even that - I
have installed it on Windows XP and because I have IIS running already,
opted to use port 8080. This pretty much exhausts my knowledge of web
servers. The install seemed to go OK but I have no services running.
Elsewhere I have found the information that I need to start the
services manually if Apache is installed on port 8080 but I don't know
how to do this. Clicking on the 'Services' button brings up a list of
Services on my local machine but I can't see Apache in the list - I'm
assuming thats what I am looking for. I also found mention of a
command prompt way of starting it and found the command "bin\Apache -k
start" in a text file with the Apache stuff. I wasn't entirely sure
which directory to try this from but it didn't seem to work from
anywhere I tried. I am installing a version from a CD which came with
a book about php and the instructions don't take this scenario into
account so i would be grateful for any suggestions.
| |
|
| Noggin wrote:
> Hi,
>
> I'm a complete beginner with Apache - in fact so far not even that - I
> have installed it on Windows XP and because I have IIS running already,
> opted to use port 8080. This pretty much exhausts my knowledge of web
> servers. The install seemed to go OK but I have no services running.
> Elsewhere I have found the information that I need to start the
> services manually if Apache is installed on port 8080 but I don't know
> how to do this. Clicking on the 'Services' button brings up a list of
> Services on my local machine but I can't see Apache in the list - I'm
> assuming thats what I am looking for. I also found mention of a
> command prompt way of starting it and found the command "bin\Apache -k
> start" in a text file with the Apache stuff. I wasn't entirely sure
> which directory to try this from but it didn't seem to work from
> anywhere I tried. I am installing a version from a CD which came with
> a book about php and the instructions don't take this scenario into
> account so i would be grateful for any suggestions.
>
Hi,
If you want to run apache as a windows services when IIS is running
1)you can stop IIS
if Apache already installes uninstalled it before step 2
2)install Apache with standard option (port 80) this type of
installation create the Apache windows service.
3)launch windows service manager : stop Apache service , start IIS service
4)go to Apache con directory (Ex:C:\Program Files\Apache
Group\Apache2\conf) edit the file httpd.conf find the section :
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80
modifie like this to run Apache on port 8080
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
#Listen 80
Listen 8080
5)launch windows service manager : start Apache service
Now you have 2 Web servers IIS on port 80 and Apache on 8080
Jean
| |
| Noggin 2006-08-20, 7:26 pm |
|
Jean wrote:
>
> Hi,
> If you want to run apache as a windows services when IIS is running
> 1)you can stop IIS
> if Apache already installes uninstalled it before step 2
> 2)install Apache with standard option (port 80) this type of
> installation create the Apache windows service.
> 3)launch windows service manager : stop Apache service , start IIS service
> 4)go to Apache con directory (Ex:C:\Program Files\Apache
> Group\Apache2\conf) edit the file httpd.conf find the section :
> #
> # Listen: Allows you to bind Apache to specific IP addresses and/or
> # ports, instead of the default. See also the <VirtualHost>
> # directive.
> #
> # Change this to Listen on specific IP addresses as shown below to
> # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
> #
> #Listen 12.34.56.78:80
> Listen 80
>
> modifie like this to run Apache on port 8080
> # Change this to Listen on specific IP addresses as shown below to
> # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
> #
> #Listen 12.34.56.78:80
> #Listen 80
> Listen 8080
>
> 5)launch windows service manager : start Apache service
>
> Now you have 2 Web servers IIS on port 80 and Apache on 8080
>
> Jean
Thank you for your help Jean, I actually had it all installed fine,
just needed to start the service. I found these two commands delivered
from the command prompt worked fine:
(in C:\Program Files\Apache Group\Apache2\bin\apache);
-k install -n "Apache2"
and then;
-k start
| |
| IchBin 2006-08-20, 7:26 pm |
| Noggin wrote:
> Jean wrote:
>
>
> Thank you for your help Jean, I actually had it all installed fine,
> just needed to start the service. I found these two commands delivered
> from the command prompt worked fine:
>
> (in C:\Program Files\Apache Group\Apache2\bin\apache);
>
> -k install -n "Apache2"
>
> and then;
>
> -k start
>
Naturally you can use those that you found. I find it nicer to run the
'..\ApacheGroup\Apache2\bin\ApacheMonitor.exe'. I leave in the system
tray because I have been making a lot of PHP.ini changes. You just
right-click the icon and bring up the monitor interface.
--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
|
|
|
|
|