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

greg.1.anderson’s picture

Category: feature » support
Status: Active » Fixed

You 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.

Status: Fixed » Closed (fixed)

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