Paths & Ports
LaraEnv installs into a single root, C:\laraenv\, and resolves every path through the app's internal paths module, which is the single source of truth. The tables below list the defaults.
Paths
| Resource | Default path |
|---|---|
| Projects root | C:\laraenv\www\ |
| Config file | C:\laraenv\config.json |
| Nginx | C:\laraenv\nginx\ |
| Nginx main config | C:\laraenv\nginx\conf\nginx.conf |
| Nginx per-project vhosts | C:\laraenv\nginx\conf\sites\*.conf |
| Nginx certificates | C:\laraenv\nginx\certs\ |
| Nginx logs | C:\laraenv\nginx\logs\ |
| Apache | C:\laraenv\apache\ |
| Apache per-project vhosts | C:\laraenv\apache\conf\sites\*.conf |
| MySQL | C:\laraenv\mysql\ |
| PostgreSQL | C:\laraenv\postgres\ |
| Redis | C:\laraenv\redis\ |
| Mailpit | C:\laraenv\mailpit\ |
| PHP versions | C:\laraenv\php\<version>\ |
| PHP active symlink | C:\laraenv\php\current\ |
| Node versions | C:\laraenv\nodejs\<version>\ |
| Node active symlink | C:\laraenv\nodejs\current\ |
| Python | C:\laraenv\python\3.13\ |
| Composer | C:\laraenv\composer\ |
| Cmder | C:\laraenv\cmder\ |
| SSH | C:\laraenv\ssh\ (per-host folders + C:\laraenv\ssh\known_hosts) |
| Installer cache / updates | C:\laraenv\cache\ |
| Hosts file (patched by app) | C:\Windows\System32\drivers\etc\hosts |
note
The hosts file lives outside C:\laraenv\. LaraEnv patches it to resolve your .test domains, which requires Administrator privileges.
Ports
| Service | Default port |
|---|---|
| HTTP | 80 |
| HTTPS | 443 |
| MySQL | 3306 |
| PostgreSQL | 5432 |
| Redis | 6379 |
| Mailpit SMTP | 1025 |
| Mailpit Web UI | 8025 |
info
PHP-FPM pools listen on an internal range around 9000–9400 (one or more pools per PHP version). Nginx upstreams point at these pools, so you normally don't interact with them directly.
If a port is already taken, use the Ports tool to find and free it. Service settings are stored in config.json, and you can start or stop each service from Services.