Ok... Fine. Just one thing. Can I use apache as a service but run a script on a computer startup that disables it, and then run a start/stop it again later?
Thanks! On Thu, May 6, 2021 at 6:37 PM Eric Covener <cove...@gmail.com> wrote: > On Thu, May 6, 2021 at 2:51 PM Talin Sharma <talinsharma...@gmail.com> > wrote: > > > > Look at the subject. How do I do this? > > I don't think there's a supported way to gracefully stop as a non > service. Running in the foreground in a terminal is basically just for > debugging. > > https://httpd.apache.org/docs/2.4/platform/windows.html > > > Running Apache as a service is usually the recommended way to use it, > but it is sometimes easier to work from the command line, especially during > initial configuration and testing. > ... > > Running as a service should be preferred over running in a console > window because this lets Apache end any current operations and clean up > gracefully. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >