Installing PHP Redis on Ubuntu

suggest change

The php-redis package is the PHP extension. Install the Redis server first:

sudo apt install redis-server

then install the PHP module:

sudo apt install php-redis

Restart the SAPI that loads PHP. For Apache mod_php:

sudo service apache2 restart

PHP-FPM does not pick up the new module from an Apache restart. Reload the php-fpm service instead.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents