I remove redis from centos 7.I'm not sure 100% correct but I didn't see "PHP Warning:".
[root@localhost ~]# sudo yum remove redisp
[root@localhost local]# rm -R redis
[root@localhost local]# cd /usr/lib64/php/modules
[root@localhost modules]# rm redis.so
[root@localhost modules]# cd /etc/php.d/
[root@localhost php.d]# rm redis.ini"
[root@localhost php.d]# php -v PHP 8.0.1 (cli) (built: Jan 5 2021
13:54:54) ( NTS gcc x86_64 ) Copyright (c) The PHP Group Zend Engine
v4.0.1, Copyright (c) Zend Technologies
with Xdebug v3.0.2, Copyright (c) 2002-2021, by Derick Rethans
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…