Command Line

When changing Nginx or Apache’s configuration, you need to reload them. Laragon GUI provides buttons to do it, and you can also call reloading from Command Line.

Reload Nginx

%laragon_root%\laragon reload nginx

Reload Apache

%laragon_root%\laragon reload apache

%laragon_root% is an environment variable which stores where you install Laragon - usually C:\laragon

Hint

The command is very helpful when you want to automate with code.

For example: you can create your awesome.test project from command line like this:

mkdir %laragon_root%\www\awesome
echo Cool > %laragon_root%\www\awesome\index.php
%laragon_root%\laragon reload
start http://awesome.test