installed drush on CentOS 5.x box
Manual install was previously working
root can access drush, but other user is greeted with:
Could not open input file: /usr/share/pear/drush/drush.php

uninstalled and re-installed 5.6 and 5.1 and the issue is still present.
tried manually symlinking the executable to other paths for the user, but no dice.

Not sure how to troubleshoot further. I'd like to use the pear installer.

Comments

Cyberwolf’s picture

A similar issue happens when installing Drush 5.8 via PEAR on Mac OS X Lion:

Could not open input file: /usr/bin/drush.php

Didn't have this issue with Drush 5.7 though, so I downgraded again:

sudo pear install --force drush/drush-5.7.0
NITEMAN’s picture

Same issue as #1 on Ubuntu 10.04, I think it isn't related with this original issue so created a new one http://drupal.org/node/1839248

Best regards

bauhaus’s picture

Yep,
Debian 6 too. Downgraded too.
Best regards

Anonymous’s picture

This also affected me with a pear install of 6.0.0. I symlinked the /usr/share/php/drush.php to /usr/bin/drush.php to get past it.

4.6.0 seems ok, I haven't tried Drush 5.

greg.1.anderson’s picture

Version: 7.x-5.6 » 8.x-6.x-dev
Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If you still need help, please ask your question again on Drupal Answers and then post a link here to the new question. Please also change the status of this issue to closed (duplicate).

Use our Github project for contributing code, or reporting bugs, or requesting features.