mac os set php version path of mamp 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