

You can interact with Redis using the built-in client: $ src/redis-cli The binaries that are now compiled are available in the

Note: the generic tarball does not match any hash because it is modified to untar to the redis-stable directory.ĭownload, extract and compile Redis with: $ wget In order to extract the version in an automatic way.Ĭontains a README file with SHA1 digests of released tarball archives. The source code of the latest stable release is Historical downloads are still available onĬan easily access the tarball of the latest Redis stable version at Redis 5 was release as GA in October 2018. Redis 5.0 is the first version of Redis to introduce the new stream data type with consumer groups, sorted sets blocking pop operations, LFU/LRU info in RDB, Cluster manager inside redis-cli, active defragmentation V2, HyperLogLogs improvements and many other improvements. Your PHPInfo should now mention Memcache and Redis.Redis 6.0 introduces SSL, the new RESP3 protocol, ACLs, client side caching, diskless replicas, I/O threads, faster RDB loading, new modules APIs and many more improvements. # Use the right folders from brew installĮxtension="/usr/local/Cellar/php53-memcache/2.2.7/memcache.so"Įxtension="/usr/local/Cellar/php53-redis/2.2.2/redis.so" Add the following at the end of the list of current extensions: Go into MAMP and navigate to: File menu > Edit Template > PHP > PHP 5.3.2.0 php.ini.įind the " Extensions" block at line 531. Install memcached and redis for PHP Homebrew: brew install php53-memcache and brew install php53-redis. Make sure you've tapped homebrew-dupes and homebrew-php with: brew tap homebrew/dupes and brew tap josegonzalez/php. I'll just be describing the process for PHP 5.3.20. This assumes you have Homebrew and MAMP 2.1.3 installed. It depends on the fact that, right now, the Homebrew PHP project and MAMP are using the same versions of PHP. Not sure how long this will be good for, but here's an easy path to adding Memached and Redis support to MAMP 2.1.3. Using your own php version instead of 5.3.2.0Īdding Memcache and Redis to MAMP 2.1.3 (PHP 5.3.20) Installation problems Older alternative way Restart MAMP and the error will be gone and Redis can be used when starting it up redis-server. Extension=/usr/local/Cellar/php56-redis/2.2.8/redis.so
