Skip to content

Instantly share code, notes, and snippets.

@benhosmer
Last active December 10, 2015 02:38
Show Gist options
  • Save benhosmer/4369218 to your computer and use it in GitHub Desktop.
Save benhosmer/4369218 to your computer and use it in GitHub Desktop.
Drush on OS X with MAMP
# Use Homebrew to install drush
$ brew install drush
# Mysql Command Line and PHP to .bash_profile
export PATH=/Applications/MAMP/bin/php/php5.3.6/bin:$PATH
$ sudo mkdir /var/mysql
$ sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock
@mooru
Copy link

mooru commented Jul 20, 2013

I am trying to get Drush to use php with MAMP. I have php5.4 install via homebrew on my Mac but it isn't just working. I have done export DRUSH_PHP="/Applications/MAMP/bin/php/php5.3.20/bin/php" and export PATH=/Applications/MAMP/bin/php/php5.3.20/bin:$PATH in .bash_profile but none is working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment