I am trying to install php71 with the command brew install php71
but instead php@7.1
is installed.
When trying to install redis with brew install php71-redis
it's installing but not working with that php@7.1
.
macOS High Sierra 10.13.3
also sometimes still get this warning:
Warning: Use php@7.1 instead of deprecated homebrew/php/php71
Best Answer
Found my answer! After this update (brew) we need to install pear (pecl) for installing extensions for php.. so i.e. redis extension was installed pretty easy like
pecl install redis
But need to be set correct php version that pear (pecl) would found where to install extension.