PHP 8.1 and Redis

via forums.cpanel.net => original post link

I’m trying to get Redis caching going on a site running PHP 8.1. Redis is working on the site under PHP 7.4 and PHP 8.0. I did run the install line:

/opt/cpanel/ea-php81/root/usr/bin/pecl install redis

and it looks like it installed correctly, but when I test it using this line: