Install Redis PHP module in Ubuntu 16.04
To install redis php module in Ubuntu 16.04, run
apt -y install php-redis
If you are using Apache, restart Apache.
systemctl restart apache2
If php-fpm restart
systemctl restart php7.0-fpm
You will see following in your phpinfo()