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
But if I execute
php -v on the command line, it still shows php version
I tried to logout and login into
ssh, but it's still the same.
What am I doing wrong? Is the path