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