GNU/Linux Elementary OS 5 Install PHP 5.6 – QuickStart Guide
Hi! The Tutorial shows you Step-by-Step How to Install PHP 5.6 in Elementary OS 5.0-Juno/5.1-Hera GNU/Linux Desktop.
And to get the PHP 5.6 Elementary OS 5 Setup you have to Manually Setup the Elementary OS 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
(Press “Enter” to Execute Commands).