Skip to main content

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

ResourceDefault path
Projects rootC:\laraenv\www\
Config fileC:\laraenv\config.json
NginxC:\laraenv\nginx\
Nginx main configC:\laraenv\nginx\conf\nginx.conf
Nginx per-project vhostsC:\laraenv\nginx\conf\sites\*.conf
Nginx certificatesC:\laraenv\nginx\certs\
Nginx logsC:\laraenv\nginx\logs\
ApacheC:\laraenv\apache\
Apache per-project vhostsC:\laraenv\apache\conf\sites\*.conf
MySQLC:\laraenv\mysql\
PostgreSQLC:\laraenv\postgres\
RedisC:\laraenv\redis\
MailpitC:\laraenv\mailpit\
PHP versionsC:\laraenv\php\<version>\
PHP active symlinkC:\laraenv\php\current\
Node versionsC:\laraenv\nodejs\<version>\
Node active symlinkC:\laraenv\nodejs\current\
PythonC:\laraenv\python\3.13\
ComposerC:\laraenv\composer\
CmderC:\laraenv\cmder\
SSHC:\laraenv\ssh\ (per-host folders + C:\laraenv\ssh\known_hosts)
Installer cache / updatesC:\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

ServiceDefault port
HTTP80
HTTPS443
MySQL3306
PostgreSQL5432
Redis6379
Mailpit SMTP1025
Mailpit Web UI8025
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.