Here we should note that some pieces come from phpM.N, others from php-common:
$ pkg-source php-common php-defaults
$ pkg-source libapache2-mod-php php-defaults
$ pkg-source libapache2-mod-php7.2 php7.2
$ pkg-source libapache2-mod-php7.4 php7.4
$ pkg-source libapache2-mod-php8.0 php8.0
$ pkg-source libapache2-mod-php8.1 php8.1
So, the fix for this issue will require updates to php-defaults on each release, and updates to the phpM.N package specific to each release.
Here we should note that some pieces come from phpM.N, others from php-common:
$ pkg-source php-common
php-defaults
$ pkg-source libapache2-mod-php
php-defaults
$ pkg-source libapache2- mod-php7. 2
php7.2
$ pkg-source libapache2- mod-php7. 4
php7.4
$ pkg-source libapache2- mod-php8. 0
php8.0
$ pkg-source libapache2- mod-php8. 1
php8.1
So, the fix for this issue will require updates to php-defaults on each release, and updates to the phpM.N package specific to each release.