Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable php-cli version choice in drushrc.php #31

Closed
macmladen opened this issue Aug 23, 2013 · 1 comment
Closed

Enable php-cli version choice in drushrc.php #31

macmladen opened this issue Aug 23, 2013 · 1 comment

Comments

@macmladen
Copy link

While having declared export DRUSH_PHP='/usr/local/php53/bin/php' is good option, on linux multiuser system there would be need to declare each user in .bashrc for this change.

While not too hard, option to do so on drush installation resource would make transition to 6.x easier for sys-admins.

It seems that the best place would be just inside DRUSH_PHP code block (55-76 lines in drush).

Should I submit patch or will someone else do it?

@greg-1-anderson
Copy link
Member

Maybe you should put your DRUSH_PHP export into /etc/bash.bashrc? The drush script does not parse drushrc.php.

Re-open if you have an idea to improve things, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants