apt update
apt install redis-server -yCheck Redis is running: systemctl status redis
Ensure it is enabled at boot: systemctl enable redis
Optional but recommended
Edit the configuration: nano /etc/redis/redis.conf
Set:
supervised systemd
bind 127.0.0.1 ::1Optionally set a password: requirepass YOUR_STRONG_PASSWORD
Restart: systemctl restart redis
apt install php-redis -yThe reload: systemctl reload php8.3-fpm
Search for: Redis Object Cach by Till Krüss
Then Tools -> REdis, click Enable Object Cache