Closed (fixed)
Project:
Drush
Component:
Installation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 07:59 UTC
Updated:
12 Nov 2009 at 17:27 UTC
I've seen many recipes to try and get Drush going on mamp. I'm oooh so close...
mp:~/Sites/testsite User$ drush status <-- dies quietly
mp:~/Sites/testsite User$ /Users/User/drush/drush.php status
PHP configuration : /Applications/MAMP/conf/php5/php.ini
Drupal Root : /Users/User/Sites/testsite
Drupal version : 6.14
Site Path : sites/default
Site URI : http://default
Database Driver : mysql
Database Hostname : 127.0.0.1
...
As per this article, I have this in my .bash_profile
alias drush="/Applications/MAMP/bin/php5/bin/php /Users/User/drush/drush.php"
export PATH=/Applications/MAMP/bin/php5/bin:$PATH
I also tried putting this in my .bash_profile
alias drush="/Users/User/drush/drush.php"
and running
#drush status
with no joy.
Comments
Comment #1
zach harkey commentedTry using .profile instead of .bash_profile.
Also, don't forget to reload it after you make changes.
Comment #2
mpaler commentedTurns out changed the second alias to something other than drush it works:
alias drush="/Applications/MAMP/bin/php5/bin/php /Users/User/drush/drush.php"
export PATH=/Applications/MAMP/bin/php5/bin:$PATH
alias dr="/Users/User/drush/drush.php"