No tak, robilem tak jak bylo opisane i ciagle mam:
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/php7.4 74 auto mode
* 1 /usr/bin/php5.6 56 manual mode
2 /usr/bin/php7.2 72 manual mode
3 /usr/bin/php7.3 73 manual mode
4 /usr/bin/php7.4 74 manual mode
php -v
PHP 5.6.40-30+ubuntu20.04.1+deb.sury.org+1 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
a phpinfo();
"
SystemLinux vmd61119.contaboserver.net 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64
Build DateSep 9 2020 06:36:30
Server APIFPM/FastCGI
Virtual Directory Supportdisabled
Configuration File (php.ini) Path/etc/php/7.4/fpm
Loaded Configuration File/etc/php/7.4/fpm/php.ini
Scan this dir for additional .ini files/etc/php/7.4/fpm/conf.d
"