I just updated macOS to Mojave, updated
brew and reinstalled
php (version 7.3, still via brew).
If I run
php I get
-bash: /firstname.lastname@example.org/bin/php: No such file or directory
But if I do
which php I get
php -v reports as 7.1.23)
Makes no sense.
php calls a path different reported by
And how can I make the system use the last version rather than those wrong ones?
I tried to
brew unlink php && brew link php but when I run
php it still calls the version 7.2 instead of the 7.3 that I just installed.