osx - How to make "php" link to php5.5 on Mac (already created symlink on /usr/local/bin/php)? -


i installed php version 5.5 through homebrew , want php on command line refer new version. in /usr/local/bin ran ls -l , saw line:

lrwxr-xr-x  1 myself  admin   37 aug 26 13:06 php -> /usr/local/cellar/php55/5.5.1/bin/php 

but php -v tells me have php 5.3.15

does know need have point version 5.5.x?

==update== turned out symlink broken somehow, made brew fix , works charm!

excuse me confusion!

it turned out symlink broken somehow, made brew fix , works charm!

excuse me confusion!


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -