How to Update PHP in Ubuntu (to any version)

Learn how to update PHP in Ubuntu to any version including the supported version 7.3, 7.4, and 8.0. This will work for PHP version 5.6 and above. We will use the update-alternatives command to change the system version of PHP that is installed. Find more at https://tonyteaches.tech #php