I updated the to MacOS Big Sur and then switched to MAMP Pro 6.3 from MAMP 4.x.
which php commands results the
which php
usr/