Change default Mac OS X PHP to MAMP’s PHP Installation
08.02.2018
Within the Terminal, run nano $ ~/.bash_profile Paste the following at the top of the file: export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH Save changes and restart Terminal app Check with $ which php

