How does ubuntu cut the php version?

I found it like this

update-alternatives --set php /usr/bin/php7.2

the original version is 7. 0
installed. I want to cut the past
, but I found that etc/php/7.2 is also available here.
which is the right way?
what else should we pay attention to?!


Don't need a path, just select it

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b309b1-2b08e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b309b1-2b08e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?