Created
January 19, 2016 16:01
-
-
Save kevinchl/6639802aa61c926ea7d8 to your computer and use it in GitHub Desktop.
Overwrite PHP using MAMP one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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