

Gpg: /tmp/tmp93drbu74/trustdb.gpg: trustdb created Gpg: requesting key E5267A6C from hkp server Gpg: keyring `/tmp/tmp93drbu74/pubring.gpg’ created Gpg: keyring `/tmp/tmp93drbu74/secring.gpg’ created Press to continue or ctrl-c to cancel adding it # LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php I am trying to do the installation and at the time of executing the repository command I have an error after pressing ENTER Sudo update-alternatives -set php-config /usr/bin/php-config5.6 Sudo update-alternatives -set phpize /usr/bin/phpize5.6 Sudo update-alternatives -set php-config /usr/bin/php-config7.3įrom PHP 7.3 => PHP 5.6 Apache:- sudo a2dismod php7.3ĬLI:- sudo update-alternatives -set php /usr/bin/php5.6 Sudo update-alternatives -set phpize /usr/bin/phpize7.3 From PHP 5.6 => PHP 7.3 Apache:- sudo a2dismod php5.6ĬLI:- sudo update-alternatives -set php /usr/bin/php7.3 You can use the same command for other PHP versions. Use the following steps to switch between the php5.6 and php7.3 versions. If you have installed multiple PHP versions and want to use them differently than the default. Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies

sudo apt-get install python-software-properties Use the following set of commands to add PPA for PHP 7.3 in your Ubuntu system and install PHP 7.3. With Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

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