DWQA QuestionsHow to change the PHP version you’re using?
kundan roy asked 4 years ago

To set PHP 7.2 as the default, run:

update-alternatives --set php /usr/bin/php7.2
a2enmod php7.2
systemctl restart apache2