GNU/Linux Ubuntu 22.04 Installing PHP 7 – Step by step Guide
How to Install PHP 7.x on Ubuntu 22.04 Jammy LTS GNU/Linux – Step by step Tutorial.
And to get the PHP 7 Ubuntu Jammy Installation, you have to Manually Setup the Ubuntu Apt PPA Repository.
Finally, this PHP 7 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