I'm using a MAMP setup in Mac OS 10.11.5 (El Capitan). This works fine for web server purposes, but when I try to use the PHP CLI, Terminal uses the system version:
$ which php /usr/bin/php
From everything I've found and read, it seems like the solution is to add the MAMP version to my
However, after adding this, closing and re-opening the window, and sourcing the file, Terminal still doesn't find the version I want.