HOW-TO Set up Drush on a GoDaddy shared hosting plan

Sep 11, 2016

Let me start by saying if you know what Drupal and Drush are, then you know this won't work unless you have SSH access to your box.

Once you have SSH access to it, the deployment of Drush is fairly simple:

  1. SSH into your box.
  2. ssh user@mydomain.com
  3. Create an alias to run your dush script.
  4. alias drush='/usr/local/php5/bin/php ~/drush/drush.php'
  5. Test that it works.
  6. drush help
  7. Now make it 'permanent' by adding it to your ~/.profile file.
  8. echo alias drush='/usr/local/php5/bin/php ~/drush/drush.php' >> ~/.profile
  9. Now logout and log back in. Confirm the alias is still there. Enjoy.
  10. exit ssh user@mydomain.com drush help

Hope this helps, if not please feel free to reach out.


Engineering Leadership

Get notified about updates and be the first to get short and concise articles.

By subscribing to my newsletter you accept to receive recurring emails about the services I offer and personal opinion pieces.

Proudly published using Prismic