How to Install and Uninstall php7.2-opcache Package on Debian 12 (Bookworm)

Last updated: May 09,2024

1. Install "php7.2-opcache" package

Please follow the guidelines below to install php7.2-opcache on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php7.2-opcache

2. Uninstall "php7.2-opcache" package

Please follow the instructions below to uninstall php7.2-opcache on Debian 12 (Bookworm):

$ sudo apt remove php7.2-opcache $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-opcache package on Debian 12 (Bookworm)

Package: php7.2-opcache
Source: php7.2
Version: 7.2.34-43+0~20230902.90+debian12~1.gbpc2a431
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 476
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+0~20230902.90+debian12~1.gbpc2a431), libc6 (>= 2.33)
Provides: php-opcache
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.2/php7.2-opcache_7.2.34-43+0~20230902.90+debian12~1.gbpc2a431_amd64.deb
Size: 170200
SHA256: 185e85f65af4d17a510f8dfb5578d0dc0a20850d8aa1ed9191fa55c7b63502f8
SHA1: c21a4ef674f021106b712a956871f09936dd40e3
MD5sum: f5123f27f28fdfb08f5ba597d793af4a
Description: Zend OpCache module for PHP
This package provides the Zend OpCache module(s) for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: 2a678caa9876c07bd79145e7e6745aa0