Hi, @overtech_nc.
Canonical supports several versions of PHP that are now past their EOL date through our ESM offering under Ubuntu Pro.
Focal, for example, shipped with PHP 7.4 which hit (PHP) EOL in 2022. Canonical will continue to provide it with security fixes for the whole of Focal’s lifetime. For example, it has been patched, in conjunction with other PHP versions, as recently as March 2025 (see USN-7400-1).