Project:Drush
Version:All-versions-3.0-beta1
Component:Installation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

This is the first time I try drush and I can't get it to work. I followed the instructions in readme.txt but when I navigate to my drupal folder, I always get the error

$ drush help
exec: 51: php: not found

I guess that's a newbie question, but I can't find anything related. I'm trying to run drush on a local Kubuntu 9.10 machine with PHP 5.2 (5.2.10-2ubuntu6.4).

Can anybody tell me what's wrong?

Comments

#1

same here .. ubuntu

#2

me too. Ubuntu 9.0.4

Don't think it's a path thing as ~/drush/drush help fails too

ok fixed

maybe when you downloaded php you didn't include the command line stuff so:-

whereis php

probably throws up:-

php:

if so do this:-

sudo apt-get install php5-cli

not sure if you need to reload/restart apache:-

sudo /etc/init.d/apache2 restart

#3

Status:active» fixed

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#5

I can confirm that installing the package php5-cli solved the problem.

#6

Just another confirmation that it was the installation of the PHP command line interface that fixed it. =]

nobody click here