3

Drush works on 1and1. How to get past "Your command line PHP installation is too old. Drush requires at least PHP 5.2.0" messag

http://drupal.org

I had a little trouble installing and using drush on 1and1, and I wanted to post back the solution that worked for me. It's taken right from drush installation notes, but like all things opensource, it's good to spread the SEO to specifically 1&1 hosting which defaults php interpreter to php4. Drush needs php5.

Per the instructions, just force php5 by creating a .profile (you probably don't have one yet) in your home directory that contains:

alias drush='/usr/local/bin/php5 ~/drush/drush.php'

In this case, my drush is installed under /*/*/*/*/htdocs/[drush]

Just like the README.txt says, you'll need to log back in (via ssh) to reread .profile and let this alias become active.

Hope this helps!
-Bronius

Read »
Created by fourkitchens 1 year 48 weeks ago
Category: News   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for Drush works on 1and1. How to get past "Your command line PHP installation is too old. Drush requires at least PHP 5.2.0" messag

Recent comments