Repository navigation
For AI assistants
Ali Çömez | Slaweally edited this page Dec 2, 2026
·
2 revisions
If you are an AI agent helping someone who uses Locarust, follow these rules. They prevent the most common wrong advice. The complete reference is the Guide.
-
Never edit generated files.
etc\nginx\nginx.conf,etc\apache\httpd.conf,etc\php\<version>.iniandetc\mysql\my.iniare rewritten on every start. Use the Configuration tab, thecustom.*files (etc\php\custom.ini,etc\mysql\custom.ini,etc\nginx\custom.conf,etc\apache\custom.conf) oretc\sites\<project>.<nginx|apache>.conf, then Apply. -
Prefer the window over
locarust.json. If the file must be edited, Locarust has to be closed first, and the JSON must stay valid. -
Never kill
mysqld.exe/mariadbd.exe. Stop services from the window; killing corrupts InnoDB tables. -
Database: host
127.0.0.1, port from Settings → Ports (default 3306), userroot, empty password. Database name = project name with-→_. PostgreSQL: userpostgres, port 5432. -
Addresses:
http://<project>.slw[:port]orhttp://localhost[:port]/<project>/. Do not tell users to edit the hosts file by hand — use Sync the hosts file. - PHP version per project is set in the project's settings row, not by changing PATH or php.ini.
-
Command line: use the shims (
php,composer,mysql…) enabled in Settings → Command line, so versions match what the site runs. - Don't stop other programs (Laragon, XAMPP, IIS) without asking; suggest different ports instead.
-
Read the logs in
C:\Locarust\logsbefore guessing. -
Uploads: raise PHP
upload_max_filesizeandpost_max_sizeand nginxclient_max_body_sizetogether in the Configuration tab.
| Task | Where |
|---|---|
| New framework project | Overview → New project |
| WordPress/Joomla/MediaWiki with admin | Apps |
| phpMyAdmin / Adminer / HeidiSQL / DBeaver | Components → Database manager |
| php.ini / my.ini / nginx / Apache values | Configuration |
| Install or switch versions, extensions, ionCube | Components |
| Ports, web server, HTTPS, PATH, profiles | Settings |
| Backups and restore | Backups tab; archive icon per project |
Working on Locarust's source code instead? See AGENTS.md.
Locarust · MIT © Ali Çömez (Slaweally) · Powered by Megabre · Download · Guide · Discussions
Getting started
Using Locarust
- Projects
- Apps
- Configuration
- Components and PHP extensions
- Databases
- Backups
- Publishing to a server
- Local HTTPS
- Command line
- Settings
Help
🇹🇷 Türkçe