Blocking: Selectable PHP versions
Bookworm will ship with PHP 8.2, which is nice, but a lot of stuff (notably WordPress plugins and themes, for example) is unhappy with, so selectable PHP versions will be pretty much mandatory.
Using Sury's repo from deb.sury.org seems the way to go, firing up FPM instances as needed, and managing PHP dependencies/extensions/etc based on the ones installed by default, or having a configurable list in /etc/sympl
, along with a configurable default PHP version for the server, defaulting to the debian shipped version.
This could be a separate package, but it would make sense to roll it into sympl-web
and the exiting templates, and have a selectable PHP version in config/php
, defaulting to normal base version, with the PHP user/group taken from the existing configs for the site (defaulting to www-data for now), and maybe separate pools per-domain.
Configuration for number of children will be needed, with some basic config/php-threads
setting with the max number, with a basic minimum and sane values taken from that with divisors would make sense.
It may be moving PHP to FPM wholesale would be the way to go, leaving things like phpmyadmin and roundcube on regular PHP.