Development of Sympl 12 for Debian 'Bookworm' is in progress

Time for another update!

The testing branch is live and seems to be working fine - there’s some more automated tests to be added, but its passed once-overs.

Development on sympl-php-configure has started - it’ll be part of the sympl-web package, and currently:

  1. Sets up the repo from deb.sury.org, with automatic updating thanks to sympl-updater.
  2. checks for a config/php file with a valid PHP version in it (based on available PHP versions), and if it finds one:
  • Installs the relevant PHP-FPM version and configures it with normal set of modules.
  • If it doesn’t already exist, creates a suitable FPM pool for it, with a selectable name via config/php-pool.
  • Drops a flag file as config/php-fpm which signifies the site it should be run under FPM.
  • Creates a symlink to the FPM pools socket.
  1. Runs sympl-web-configure which configures the site to use the pool, via the socket symlink.
  2. Cleans up any old pool files, and stops/disables instances of PHP-FPM which aren’t needed any more.

It’s a little brute-force at present and missing quite a few options, and it also needs some expanded functionality for handling php modules gracefully, but this should be able to be extended to support something like config/php-modules where you can list any modules you want to be installed.

So far it looks like it should be fairly easy to back-port this to Sympl 10 and 11, as the changes to the legacy code are fairly minor.

If you have any suggestions for other functionality which you’d consider a must-have, please post on the Selectable PHP options topic!

1 Like