

Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies sudo apt-get install software-properties-common Use the following set of commands to add PPA for PHP 7 in your Ubuntu system and install PHP 7.1 version. Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies You can use this version for production use also. Use the following set of commands to enable PPA for PHP 7.2 in your Ubuntu system and install it. PHP 7.2 stable version has been released. Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies Use the following set of commands to enable PPA for PHP 7.3 in your Ubuntu system and install it.

PHP 7.3 stable version has been released. With Zend OPcache v7.4.5, Copyright (c), by Zend Technologies Zend Engine v3.4.0, Copyright (c) Zend Technologies Now use the following command to check installed php version on your system. Use the following set of commands to enable PPA for PHP 7.4 in your Ubuntu system and install it. PHP 7.4 is the latest stable version is available for installation. Also, you can configure Apache VirtualHosts to use different-2 PHP versions. You can also install multiple PHP versions on your system and switch PHP version between them. Read: How to Install PHP 7 on Debian via PPA.
