A new guide has been published: How to Install Different PHP (5.6, 7.x and 8.0) Versions in Ubuntu
Tecmint published a tutorial about installing different PHP (5.6, 7.x and 8.0) versions in Ubuntu.
Read more @ Linux Compatible