Black Friday: 40% off for life · BLACKFRIDAY40Claim →
crabsmith Get started
Browse documentation
← All documentation

Config

On this page

Edit configuration files for installed services directly from Crabsmith. Crabsmith backs up the current file before saving and automatically restores it if validation or reload fails.

Edit a config file

  1. Open your server's Services tab, click Config on an installed service, and pick the file you want to edit.
  2. Make your changes and click Save.
  3. Crabsmith backs up the current file, saves your changes, validates the config syntax (for Caddy, PHP, MySQL, and PostgreSQL), and reloads or restarts the service.

If validation or restart fails, Crabsmith restores the previous file and keeps your draft open in the editor so you can fix the mistake and try again. Note that Redis has no separate pre-restart syntax check, a restart can cause a brief interruption, and a syntactically valid setting can still affect your app—test risky changes carefully.

Editable files

ServiceAvailable filesCommon edits
CaddyCaddyfileGlobal options, custom headers, or extra site rules
PHPPHP settings (php.ini), CLI settings, FPM poolupload_max_filesize, memory_limit, max_execution_time, pm.max_children
MySQLServer settingsmax_connections, innodb_buffer_pool_size
PostgreSQLServer settingsmax_connections, shared_buffers, work_mem
RedisRedis settingsmaxmemory, maxmemory-policy

Warning

Keep Crabsmith's existing lines intact—for example, don't remove the site import line in Caddyfile or the crab user/socket settings in the PHP-FPM pool config.

When a save fails

Open the failed operation to see the exact error message from the service, fix that line in the editor, and click Save again.