My moodle server is very slow. after reading different topics, came to know that file cache is the reason for this slow behavior. So, I tried to change the cache to redis. I installed redis server and redis php extension. But in moodle server the redis store still showing as 0. Can someone help me how to configure the redis server.
Commands used to install redis server:
sudo apt install redis-server
sudo apt install php-redis