drush.php is designed to run via the command line message is all I get

pyrello - December 12, 2008 - 07:56
Project:Hosting
Version:5.x-0.1-beta1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello,
I'm getting this message:
drush.php is designed to run via the command line.

I feel like there is something obvious I am missing here, but I can't figure out what it is. I have been trying to make it past the verify platform step for hours now and it all seems to hinge on not being able to make drush.php run.

I am running a LAMP stack on Ubuntu 8.10 and I have installed php5-cli. I have been searching for hours for something that would make this make sense, but every thing I have tried has come to no avail. After I installed the php5-cli package, I thought that maybe I needed to reconfigure php, but I can't seem to find any instructions on how to do that.

I would greatly appreciate any help at all!

Thanks,
Sean

#1

adrian - December 29, 2008 - 14:40
Status:active» fixed

This was resolved in irc as being based on how your php was configured. It was using php-fastcgi, which drush itself does not support.

#2

pyrello - December 31, 2008 - 20:36

Yes, after I rebuilt my server, to run php as command line it worked. Thanks!

#3

pyrello - December 31, 2008 - 20:37
Status:fixed» closed

#4

axel-at-konzepto.net - March 25, 2009 - 16:40

if you googled this and look for the drush issue see #413502: cli test fails: "drush.php is designed to run via the command line"

#5

Detroit Dan - October 31, 2009 - 18:12

This doesn't work for me, either. I suppose it's because my web.com site uses cgi to run php.

 
 

Drupal is a registered trademark of Dries Buytaert.