Víctor Yoalli

Install Redis & PHP-Redis Extension on OSX Catalina

Installing Redis on MacOS using brew and PECL and some missing libraries.

Installing Redis locally using brew for mac OSX Catalina

bash
brew install redis
brew services start redis

Confirm that everything is working ok.

bash
redis-cli

Then install PHP Redis Extension using PECL

bash
pecl install redis

If you have trouble installing check if you have xcode tools install

bash
xcode-select --install

Then open XCode just to make sure that everything is running smoothly.

Probably you will need another library in my case was libzstd -> zstd which I installed using `brew``

bash
brew install zstd

After all this I was able to install successfully using PHP-Redis

bash
pecl install redis
ESCRITOS DE VÍCTOR