Installing PHP Redis on Ubuntu
suggest changeThe 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.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents