how to add extension=redis.so redis.ini to ubuntu code example Example: php enable redis sudo apt-get install php-redis