Repository navigation
Configuration
The Configuration tab edits the everyday settings of PHP, MySQL/MariaDB (including the root password), nginx, Apache, PostgreSQL, Redis, Memcached and Mailpit without opening a file.

- Pick PHP, MySQL, Nginx or Apache at the top right. PHP settings are per PHP version: choose the version below.
- Change a field. Each shows what it does and its default.
- Anything not in the form goes into Additional directives, written exactly as in the file itself.
- Save and apply. Running services restart with the new values.
Values may contain letters, digits and . _ : / + - only.
| Section | Field | Default | Meaning |
|---|---|---|---|
| PHP | memory_limit |
512M | Memory a script may allocate |
| PHP | max_execution_time |
300 | Seconds a script may run |
| PHP | max_input_time |
60 | Seconds to parse POST/GET input |
| PHP | max_input_vars |
3000 | Number of form inputs accepted |
| PHP | post_max_size |
128M | Largest POST body |
| PHP | upload_max_filesize |
128M | Largest uploaded file |
| PHP | date.timezone |
UTC | Default time zone |
| PHP | display_errors |
On | Show errors in the page |
| MySQL | max_connections |
151 | Simultaneous connections |
| MySQL | innodb_buffer_pool_size |
256M | InnoDB cache — the most important MySQL setting |
| MySQL | max_allowed_packet |
256M | Largest query/row (raise for big imports) |
| MySQL | wait_timeout |
28800 | Seconds an idle connection stays open |
| Nginx | client_max_body_size |
128m | Largest request body (uploads) |
| Nginx | fastcgi_read_timeout |
300 | Seconds nginx waits for PHP |
| Nginx | keepalive_timeout |
65 | Idle browser connection |
| Nginx | gzip |
on | Compress text responses |
| Apache | Timeout |
300 | Seconds Apache waits for a request / PHP |
| Apache | KeepAliveTimeout |
5 | Idle browser connection |
| Apache | LimitRequestBody |
0 | Largest request body in bytes (0 = no limit) |
Uploads: raise both PHP upload_max_filesize and post_max_size, and nginx client_max_body_size.
Locarust rebuilds these on every start, so hand edits in them are lost:
| Generated — don't edit | Put your changes in |
|---|---|
etc\php\<version>.ini |
this form, or etc\php\custom.ini (all PHP versions) |
etc\mysql\my.ini |
this form, or etc\mysql\custom.ini
|
etc\nginx\nginx.conf |
this form, etc\nginx\custom.conf, or etc\sites\<project>.nginx.conf
|
etc\apache\httpd.conf |
this form, etc\apache\custom.conf, or etc\sites\<project>.apache.conf
|
Order inside each generated file: base settings → form values → additional directives → your custom.* file. Your file always has the last word.
The Your own config files buttons open these files in Notepad (the hosts file as administrator) and the per-project config folder. After editing, press Apply.
If nginx or Apache rejects a line, the error message names it; fix it and press Apply again.
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