I updated the to MacOS Big Sur and then switched to MAMP Pro 6.3 from MAMP 4.x.
which php commands results the
I updated the path using following. vim ~/.bash_profile
export PATH=/Applications/MAMP/bin/php/php7.4.12/bin:$PATH export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
Press esc and then :wq
Now when I do which php it shows MAMP's php7.4.12 but if close and re-open the terminal, it again says
Btw, PHP 7.4.12 is set as Default version in MAMP Pro from PHP settings in MAMP Pro.
macOS Big Sur version 11.1
Please register here.