I am running websites on my PC with following php5:
(this is what I can see when running phpinfo() command within website php code).
How to set Drush, so it would use the same php version?
I found this page which says, that I should detect, where is my bin/php file in my PC and set it in DRUSH_PHP environment variable. I have found following files:
although, when I set this as DRUSH_PHP variable (in ~/.bashrc file), my drush would stop work at all. Otherwise, without this setting of variable, I can run drush commands, that does not need PHP to run.
Can anybody help, how to proceed, to set the same php version for drush as it is used by website in phpinfo()?