Switch PHP Version Ubuntu 20.04 Sitio: stackoverflow.com
export PATH=/opt/plesk/php/7.4/bin:$PATH; //Change the php path to your php path
Yousef Qaoud
export PATH=/opt/plesk/php/7.4/bin:$PATH; //Change the php path to your php path