configuration problem

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

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Code: Select all

>apache -k uninstall -n "Apache2.2"

>apache -k install -n "Apache2"
or something similar.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

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 »

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....
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

It will simply rename the service by uninstalling it, then reinstalling it under the new name. Your configuration will not be affected.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

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 »

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...
Post Reply