Run Apache as a service
-
Hello,
I need to programatically reload the apache config/vhosts. From what I know, this only works if apache runs as a service, which in laragon it does not. Is there any way to do that?
Thanks
-
@TheTechnoMan: You can run Apache and MySQL as a service:
https://forum.laragon.org/topic/455/laragon-auto-startup-on-windows-server-2008/2Laragon doesn't use Windows services for portability & isolation.
Btw, you can reload apache config/vhosts by callinglaragon reload apache
https://laragon.org/docs/cli.html
-
Thanks for the fast reply.
The last solution is perfect