Debian packages should work with local PHP version
The postinst scripts assume PHP 7.3 is installed. This may be the case for Buster, but it isn't for Stretch (7.0) or Bullseye (7.4). The postinst script should determine what PHP is installed and configure that one.