The following versions of PHP ship as standard with the referenced LTS versions of Ubuntu. See Ondrej Sury’s defacto standard PPA to install other versions.
| Ubuntu Version | PHP Version | 
| 16.04 xenial (LTS) | 7.0 | 
| 18.04 bionic (LTS) | 7.2 | 
| 20.04 focal (LTS) | 7.4 | 
| 22.04 jammy (LTS) | 8.1 | 
| 24.04 noble (LTS) | 8.3 | 
| 24.10 oracular | 8.3 |