Skip to content

Instantly share code, notes, and snippets.

@kevinchl
Created January 19, 2016 16:01
Show Gist options
  • Select an option

  • Save kevinchl/6639802aa61c926ea7d8 to your computer and use it in GitHub Desktop.

Select an option

Save kevinchl/6639802aa61c926ea7d8 to your computer and use it in GitHub Desktop.
Overwrite PHP using MAMP one.
# Use MAMP version of PHP
PHP_VERSION=`ls /Applications/MAMP/bin/php/ | sort -n | tail -1`
export PATH=/Applications/MAMP/bin/php/${PHP_VERSION}/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment