sql >> Base de Datos >  >> NoSQL >> Redis

Instalar phpredis MAC OSX

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 [email protected]
make test

Puedes comprobar si funciona o no

php -r "if (new Redis() == true){ echo \"\r\n OK \r\n\"; }"