Closed (fixed)
Project:
Drush
Component:
Core Commands
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2012 at 19:04 UTC
Updated:
21 Feb 2012 at 20:40 UTC
My webhost offers SSH, but does not give me access to configure the symbolic link or PATH variable to register the drush command.
I read somewhere that it is possible to run drush commands with the the installation path of drush as a parameter.
I can't seem to find the example anymore. Am I right, is this possible?
Also, would it be technically possible to run drush commands in a web interface, the same way you can execute PHP commands with the devel module?
Comments
Comment #1
greg.1.anderson commentedYou may use an environment variable to select the version of PHP that Drush will use; perhaps that is what you were thinking of in #0.
To run a version of Drush that is not in your $PATH, specify the full path to Drush:
/home/user/local/drush/drush status. If you can edit your .profile or .bashrc, then you could make an alias:alias drush='/home/user/local/drush/drush status.See Drupal Terminal for one way to run Drush commands via the web interface.