Drush on MediaTemple DV 3.5
Login as root or sudo -s
cd /usr/local/share/
wget http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz
tar zxvf drush-7.x-4.4.tar.gz
rm drush-7.x-4.4.tar.gz
ln -s /usr/local/share/drush/drush /usr/local/bin/drush
drush
Check php.ini to see if safe mode is off, which it needs to be to use Drush.
vi /etc/php.ini
Look for:
;
; Safe Mode
;
safe_mode = Off
If it's On... change it to Off which in vi would be `esc` key, `a` key for append, delete On with the delete key... and change off... hit `esc` key then `:` then type wq! and `enter` to save (write, quit.)
vi /etc/php.ini
/etc/init.d/httpd restart graceful
You should be able to use Drush now!
- Technology:


Comments
Post new comment