Thanks for the fast reply.
The last solution is perfect
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?
Looks like your connection to Laragon was lost, please wait while we try to reconnect.