Created
September 26, 2014 07:33
-
-
Save Scribblerockerz/75d38ad7ff7c2cb64ba1 to your computer and use it in GitHub Desktop.
Change terminals php version to the current mamp pro's one
This file contains 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
php_bin=`grep "php5_module" ~/Library/Application\ Support/appsolute/MAMP\ PRO/httpd.conf | egrep -o "/.*/php\d+(.\d+)*"` | |
export PATH="$php_bin/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment