Ask your Mac Pro tips
$ Brew Install Php56-redis
Error:formulae found in multiple taps:
* Homebrew/php/php56-redis
* Josegonzalez/php/php56-redis
fully-qualified name e.g. Homebrew/php/php56-redis to refer the formula.
What does that mean? What do you mean, homebrew/php and josegonzalez/php two different things? Don't understand, the first time with a Mac.
Reply content:
Ask your Mac Pro tips
$ Brew Install Php56-redis
Error:formulae found in multiple taps:
* Homebrew/php/php56-redis
* Josegonzalez/php/php56-redis
fully-qualified name e.g. Homebrew/php/php56-redis to refer the formula.
What does that mean? What do you mean, homebrew/php and josegonzalez/php two different things? Don't understand, the first time with a Mac.
You need tap first.
bash
brew tap homebrew/phpbrew install php56-redis
Of course, actually really want to run, first you have to install homebrew/php under the php56, so:
bash
brew tap homebrew/phpbrew install php56 #你可能装之前希望看看php56的参数,那么通过brew options php56来查看brew install php56-redis
Installed PHP will be under/USR/LOCAL/CELLAR/PHP56,/usr/local/bin and/usr/local/sbin below you can see the PHP and php-fpm of the symbolic link, if you want to use the default brew installed PHP , then you need to modify your environment variables, take ~/.BASHRC as an example, add
bash
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
Brew Untap josegonzalez/homebrew-php
Brew Untap josegonzalez/homebrew-php