Directory Structure

By default, Laragon is installed at C:\laragon. As Laragon is containerized & portable & isolated, you can change the path (rename, move to another drive, move to another machine) without any worries.


Laragon uses short, simple, lowercase for folder names. Below are the structure and descriptions:

├─── laragon.exe # Laragon run file
├─── data\ # Data dir for MySQL, MariaDB, PostgreSQL, MongoDB
| └─── mysql\
| └─── ...
├─── www\ # Document Root (where you store your projects)
| ├─── proj1\
| └─── proj2\
├─── usr\ # User's preferences - Laragon respects any changes in this folder
| ├─── tpl\ # User-defined templates (for changing something permanently)
| └─── laragon.ini # User's settings
├─── etc\ # Shared settings & apps
| ├─── apps\
| └─── ...
├─── bin\ # Binary dir
| ├─── mysql\
| └─── ...
└─── tmp\ # Where to store temporary data

Important folders

Laragon is disposable - You can delete your Data dir and have new refresh data. If you only use Apache, you can delete bin\nginx folder and vice versa.
You can delete the whole stack and reproduce it again in another machines as long as you keep these 3 folders:

Folder Description Note
data\ Data dir for MySQL, MariaDB, PostgreSQL, MongoDB You can change the Data dir in Menu > Preferences
www\ Document Root (where you store your projects) You can change the Document Root in Menu > Preferences
usr\ User dir Laragon stores user’s settings in the folder - so when reinstall/update Laragon, current settings will be intact

As they store meaningful data, you can read more information about them below:


By default, the Data dir is located at C:\laragon\data. If the Data dir doesn’t exist, Laragon will create it and make data for each service inside the folder with correspond name:

Service Location
MySQL {data_dir}\mysql
MariaDB {data_dir}\mariadb
Mongo {data_dir}\mongodb
PostgreSQL {data_dir}\postgresql


By default, the Document Root is located at C:\laragon\www. On Terminal, you can access www\ folder using this environment variable: %DOCUMENT_ROOT%


Laragon has “auto created virtual hosts” feature - So, when you put a folder name app to www/, you can access the project with pretty url:

Note: You can also access the project via http://localhost/app. However the first one is not only pretty but also help you to solve issues related to paths.


When running, Laragon copies default settings from bin\laragon to usr\