git clone https://www.github.com/phpredis/phpredis.git
cd phpredis
phpize && ./configure && make && sudo make install
Agregue extension=redis.so en tu php.ini
brew services restart example@sqldat.com
make test
Puedes comprobar si funciona o no
php -r "if (new Redis() == true){ echo \"\r\n OK \r\n\"; }"