1 Answer
Just execute the below commands to delete the default version of PHP 7.2 On Ubuntu 19.04
apt purge "php*" -y
apt autoremove -y
and then check the version of php
root@linuxhelp:~# php -v
-bash: /usr/bin/php: No such file or directory
With this, the default version of PHP 7.2 has been deleted successfully.
Your Answer