redis

Installing Redis PHP module CentOS 7

Connect to redis from PHP

Monitor redis with redis-cli

Checking if redis works

Example

Count Number of Keys

To count number of keys, use

Example

Here DBSIZE returned 4114, that means you have that much key/value stored in redis.

Flush ALl

To flush all keys, use