mamp change cli php version code example
Example: export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH
export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH
export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH