PHP

Bothy runs one php-fpm master per PHP version and one pool per site, which is what makes per-site ini overrides and per-site FPM stats possible.

Install and switch versions

bothy php install 8.2               # from the shivammathur/php Homebrew tap
bothy site php shop 8.2             # switch a site
bothy php uninstall 7.4             # must not be the default or used by any site

Per-site php.ini

bothy site ini shop memory_limit 1G
bothy site ini shop                 # show overrides

Per-version php.ini

bothy php ini 8.3 upload_max_filesize 256M

Both are also editable in the app from the site's page and the PHP section, with the common directives listed. Each version's file lives at ~/Library/Application Support/Bothy/php/X.Y/php.ini.

Extensions

Redis and Memcached extensions are installed per version from the add-ons screen, or:

bothy addon php-ext redis 8.3