Change default Mac OS X PHP to XAMPP's PHP Installation and Install Composer Find out what version of PHP is running which php This will output the path to the default PHP install which comes preinstalled by Mac OS X, by default
Change default Mac OS X PHP to MAMP's PHP Installation and Install Composer Package Management Instructions to Change PHP Installation First, Lets find out what version of PHP we're running (To find out if it's the default version). To do that, Within the terminal, Fire this command: which php