Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sun Jun 03, 2007 5:03 pm
Code: Select all
>apache -k uninstall -n "Apache2.2"
>apache -k install -n "Apache2"or something similar.
superdezign
DevNet Master
Posts: 4135 Joined: Sat Jan 20, 2007 11:06 pm
Post
by superdezign » Sun Jun 03, 2007 5:04 pm
Oh, you must have Apache2. I just upgraded today. It automatically installs itself as a Service.
I was unaware of the difference.
bruceaj
Forum Newbie
Posts: 16 Joined: Sun May 27, 2007 8:43 am
Post
by bruceaj » Sun Jun 03, 2007 5:14 pm
feyd wrote: Code: Select all
>apache -k uninstall -n "Apache2.2"
>apache -k install -n "Apache2"or something similar.
I just looked at "httpd -?" and I could construct a command using it that looks like what you suggested, namely
http -k uninstall -n "Apache2.2"
http -k install -n "Apache2"
Is that what your suggesting? Can I feel safe executing these two commands that it won't "kill" my apache installation? I have to trust your judgement as I am "Over my Head" with this.
Thanks....
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sun Jun 03, 2007 5:22 pm
It will simply rename the service by uninstalling it, then reinstalling it under the new name. Your configuration will not be affected.
superdezign
DevNet Master
Posts: 4135 Joined: Sat Jan 20, 2007 11:06 pm
Post
by superdezign » Sun Jun 03, 2007 5:44 pm
In Apache 1.3, you could use -i instead of -k install. Is that no longer available?
bruceaj
Forum Newbie
Posts: 16 Joined: Sun May 27, 2007 8:43 am
Post
by bruceaj » Sun Jun 03, 2007 6:33 pm
Tried: httpd -k uninstall -n "Apache2.2"
I got an error message (OS 5) Access is denied: Apache2.2: OpenService failed.
I stopped the service before I ran the command. My ID is the Administrator ID so I don't "THINK" that's the problem.
Any guess?
Thanks...