Howdy,

When I attempt to run drush, I get the following error:

/usr/bin/env: php: No such file or directory

I have my own LAMP test server running Drupal locally. I suspect this is a configuration issue on my end and not a problem with drush. I am running Ubuntu 8.04. Has anyone else run into something like this? Thanks in advance for any help.

Comments

laceiba’s picture

Status: Active » Closed (fixed)

I answered my own question. I first needed to install the php5-cgi package for Ubuntu. I then need to create a link so that Drush could find what it was looking for.

sudo ln /usr/bin/php5-cgi /usr/bin/php