Sometimes we need to change the PHP version in our Linux machine. In this tutorial, we will see that how to switch PHP versions in Ubuntu, Debian, red hut, or any Linux-based distros. Let assume we have installed PHP 7.3, PHP 7.4 and PHP 8 version in our Linux server. Now we need to switch the PHP version from PHP 8 to PHP 7.4 let assume.
So what do we have to do to change the PHP version in Linux? Just follow this below command one after another
Top comments (0)