Hello
I have installed php7.4 in plesk through add remove components, php 7.4 is available in hosting account, When I try to set default php
sudo update-alternatives --set php /usr/bin/php7.4
I am getting this error message
update-alternatives: error: alternative /usr/bin/php7.4 for php not registered;
Also when I check php -v only php7.2 is showing
# php -v
PHP 7.2.24-0ubuntu0.18.04.6 (cli) (built: May 26 2020 13:09:11) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.4.0, Copyright (c) 2002-2020, by ionCube Ltd.
with Zend OPcache v7.2.24-0ubuntu0.18.04.6, Copyright (c) 1999-2018, by Zend Technologies
I have installed php7.4 in plesk through add remove components, php 7.4 is available in hosting account, When I try to set default php
sudo update-alternatives --set php /usr/bin/php7.4
I am getting this error message
update-alternatives: error: alternative /usr/bin/php7.4 for php not registered;
Also when I check php -v only php7.2 is showing
# php -v
PHP 7.2.24-0ubuntu0.18.04.6 (cli) (built: May 26 2020 13:09:11) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.4.0, Copyright (c) 2002-2020, by ionCube Ltd.
with Zend OPcache v7.2.24-0ubuntu0.18.04.6, Copyright (c) 1999-2018, by Zend Technologies