i've been install PHP7.2 on my PC but when i try to php -v
it's show me error like this
bash: /usr/local/bin/php: No such file or directory
and then i try to type php7.2 -v
it's works
Anyone have solution so when i type php -v it's show me php7.2 ?
Simply install the php alternative package (https://packages.ubuntu.com/bionic/php)
And you will get new symbolic links