git clone https://www.github.com/phpredis/phpredis.git
cd phpredis
phpize && ./configure && make && sudo make install
Tilføj extension=redis.so
i din php.ini
brew services restart [email protected]
make test
Du kan kontrollere, at det fungerer eller ej
php -r "if (new Redis() == true){ echo \"\r\n OK \r\n\"; }"