GNU/Linux Ubuntu 22.04 Installing PHP 5.6 – Step by step Guide
How to Install PHP 5.6 on Ubuntu 22.04 Jammy LTS GNU/Linux – Step by step Tutorial.
And to get the PHP 5.6 Ubuntu Jammy Installation, you have to Manually Setup the Ubuntu Apt PPA Repository.
Finally, this PHP 5.6 PPA includes also All the most Useful Extensions for PHP usage.

-
1. Launching Terminal
Open a Terminal window
Ctrl+Alt+t on desktop
(Press “Enter” to Execute Commands).
Contents