I would like to use the php82 as my default php command on the command line.
I have done the following, like described in the documentation:
mkdir -p ~/bin
ln -s /usr/local/bin/php82 ~/bin/php
Now I have a bin folder in my home directory and a soft link named php inside of it, which is pointing to /usr/local/bin/php82.
But if I execute php -v on the command line, it still shows php version 7.3.32.
I tried to logout and login into ssh, but it's still the same.
What am I doing wrong? Is the path /usr/local/bin/php82right?