Closed (fixed)
Project:
Drush
Version:
All-versions-3.0-beta1
Component:
Installation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2010 at 09:27 UTC
Updated:
27 Apr 2010 at 18:36 UTC
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
Comment #1
bloyo commentedsame here .. ubuntu
Comment #2
soulston commentedme 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
Comment #3
greg.1.anderson commentedComment #5
yan commentedI can confirm that installing the package
php5-clisolved the problem.Comment #6
Marc Cepeda commentedJust another confirmation that it was the installation of the PHP command line interface that fixed it. =]