phpbrew switch does not change PHP version -
if run "phpbrew switch 5.6.3" followed "php -v", 5.9.3 (php system version) current php version.
if run phpbrew "use 5.6.3", 5.6.3 php -v.
is there solution problem? php version 5.6.3 installed , built phpbrew , working after using use command.
i using elementary os freya (ubuntu 14.04) latest phpbrew version.
if getting red error line "you should not see this, if see this, means didn't load ~/.phpbrew/bashrc script, please check if bashrc sourced in shell.", need run source ~/.phpbrew/bashrc
. it's idea run echo "source $home/.phpbrew/bashrc" >> ~/.bashrc
, in future automatic.
Comments
Post a Comment