How to Install and Uninstall php-memcache Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: July 07,2024

1. Install "php-memcache" package

This guide covers the steps necessary to install php-memcache on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-memcache

2. Uninstall "php-memcache" package

Learn how to uninstall php-memcache on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php-memcache $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-memcache package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-memcache
Priority: optional
Section: php
Installed-Size: 28
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 8.2-2+ubuntu20.04.1+deb.sury.org+2
Suggests: memcached
Depends: php8.3-memcache
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-memcache/php-memcache_8.2-2+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 18296
MD5sum: c1714e4d20708cd8ce245861c131c61a
SHA1: d1552a566d9b8cfe52da08aee7dda5cbb135294a
SHA256: d80be37248386a7a4e7d06c39e94905a9337182d71eab5941d4d49417d429a84
Description: memcache extension module for PHP
Description-md5: d2ac98f44f310f359463dd42bfbb2873

Package: php-memcache
Architecture: amd64
Version: 3.0.9~20170802.e702b5f-4build1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 146
Provides: php7.4-memcache
Pre-Depends: php-common (>= 2:69~)
Depends: phpapi-20190902, libc6 (>= 2.25), zlib1g (>= 1:1.1.4)
Suggests: memcached
Filename: pool/universe/p/php-memcache/php-memcache_3.0.9~20170802.e702b5f-4build1_amd64.deb
Size: 53856
MD5sum: 08832d2141ef2cfb22f1dfb77dfb6944
SHA1: 833a7aef37050d02aefd3c6200ae293e99c15ebb
SHA256: d86ee76fd3c25db8e3e4b6bbf05daed0097c5c6e58275821e76e16cbe7eb638c
Homepage: https://github.com/websupport-sk/pecl-memcache
Description: memcache extension module for PHP
Description-md5: d2ac98f44f310f359463dd42bfbb2873