This article describes step-by-step how to install PHP versions 5.6, 8.0, and 8.1 on your Ubuntu. After installing the two versions, it also explains how you can disable one version and enable another version as the default version for the system. We have run the commands and procedures mentioned in this article on an Ubuntu 22.04 LTS system. The same commands will work on the old Ubuntu 20.04 LTS version as well.
The post How to install PHP 5.6, PHP 8.0 and PHP 8.1 on Ubuntu 22.04 LTS appeared first on Linux Today.

Link to original post https://www.linuxtoday.com/developer/how-to-install-php-5-6-php-8-0-and-php-8-1-on-ubuntu-22-04-lts/ from Teknoids News

Read the original story