You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Blomstrom <da...@yahoo.com> on 2004/01/26 01:26:20 UTC

[users@httpd] Apache: Once a Service, Always a Service?

Some time ago, I downloaded a preconfigured package
with Apache, PHP and MySQL and began learning the
ropes. Apache was set up as a console, but I learned
how to change it to a service by typing a command into
the Windows Command Prompt.

I've had to reinstall this software package several
times. Each time I reinstall it, Apache again opens up
as a console. But I don't need to change it to a
service, because it apparently changes automatically
when I reboot my computer.

Does this make sense? If you install Apache as a
service, is something installed on your computer that
remembers it as a service even after you uninstall
Apache?

This isn't a problem; it's actually very convenient.
But I'd just like to have a better idea of what's
going on, since I'm going to be doing a lot of work
with this program. I may even write a tutorial for
people who are really new to all of this and might
want to use the same software package I'm using.

Thanks!

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


AW: [users@httpd] Apache: Once a Service, Always a Service?

Posted by SH Solutions <in...@sh-solutions.de>.
Hi

> but I learned how to change it to a service by typing a command into the
Windows Command Prompt.

Services are registered against the service manager, storing the information
about services in registry.

> I've had to reinstall this software package several times.

Did you uninstall the package beforehand? Or did you simply replace files?
If you did uninstall the old versions, did the uninstaller know about the
service?

In fact, if the service is not removed cleanly, windows will think it is
still there.
This is default behavior.

> Each time I reinstall it, Apache again opens up as a console.

As it is started by the setup.

> But I don't need to change it to a service, because it apparently changes
automatically when I reboot my computer.

As it is still registered in registry.
Btw - you don't need to restart you computer. The service entry in System
Control -> Services is never removed. Therefor you can simply start it
there.

> Does this make sense? If you install Apache as a service, is something
installed on your computer that remembers it as a service even after you
uninstall Apache?

Yes, windows registry.

But remember, if you have to change the services parameters, it might be
better to review them after updates.

cu,
  Steffen


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org