Install PHP 5.6 on Ubuntu

Use the following set of commands to enable PPA for PHP 5.6 in your Ubuntu system and install PHP 5.6.

Check Installed PHP Version:

Install PHP 7.2 on Ubuntu

Use the following set of command to add PPA for PHP 7.2 in your Ubuntu system and install PHP 7.2

Check Installed PHP Version:

Switch Between PHP Version’s

If you have installed multiple PHP versions and want to use differently than the default. Use following steps to switch between php5.6 and php7.2 version. You can use the same command for other PHP versions.

From PHP 5.6 => PHP 7.2

From PHP 7.2 => PHP 5.6

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...