How to Install and Uninstall php7.0-redis Package on Debian 11 (Bullseye)

Last updated: June 16,2024

1. Install "php7.0-redis" package

This guide covers the steps necessary to install php7.0-redis on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.0-redis

2. Uninstall "php7.0-redis" package

Please follow the guidance below to uninstall php7.0-redis on Debian 11 (Bullseye):

$ sudo apt remove php7.0-redis $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.0-redis package on Debian 11 (Bullseye)

Package: php7.0-redis
Source: php-redis
Version: 5.3.7+4.3.0-1+0~20220330.42+debian11~1.gbp6fe8b7
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 681
Pre-Depends: php-common (>= 2:69~)
Depends: php7.0-common, php7.0-igbinary, phpapi-20151012, libc6 (>= 2.14), liblz4-1 (>= 0.0~r130), libzstd1 (>= 1.4.0)
Suggests: redis-server
Breaks: php-redis (<< 5.3.7+4.3.0-1+0~20220330.42+debian11~1.gbp6fe8b7~)
Replaces: php-redis (<< 5.3.7+4.3.0-1+0~20220330.42+debian11~1.gbp6fe8b7~)
Provides: php-redis
Homepage: https://pecl.php.net/package/redis
Priority: optional
Section: php
Filename: pool/main/p/php-redis/php7.0-redis_5.3.7+4.3.0-1+0~20220330.42+debian11~1.gbp6fe8b7_amd64.deb
Size: 156012
SHA256: b6a72a9c5c0026b0ee607affff76fb2f0e58887f4e148298ceba0e3deedc1527
SHA1: 641eeae65b8d58d2288480f1db0270e10cf98e77
MD5sum: 40097c33195db68ac973e216b8696bf3
Description: PHP extension for interfacing with Redis
This extension allows php applications to communicate with the Redis
persistent key-value store. The php-redis module provides an easy
object oriented interface.
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a