sudo apt update sudo apt install redis-server php-redis
sudo vim /etc/redis/redis.conf
After the last line, add these :
maxmemory 128mb maxmemory-policy allkeys-lru
Set the maxmemory according to the amount of RAM available in your server.
maxmemory
There was an error while loading. Please reload this page.