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

Last updated: May 18,2024

1. Install "php7.2-fpm" package

This guide covers the steps necessary to install php7.2-fpm on Debian 12 (Bookworm)

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

2. Uninstall "php7.2-fpm" package

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

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

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

Package: php7.2-fpm
Source: php7.2
Version: 7.2.34-43+0~20230902.90+debian12~1.gbpc2a431
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4932
Depends: libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php7.2-cli, php7.2-common (= 7.2.34-43+0~20230902.90+debian12~1.gbpc2a431), php7.2-json, php7.2-opcache, procps, systemd | systemd-tmpfiles, tzdata, ucf, libacl1 (>= 2.2.23), libapparmor1 (>= 2.7.0~beta1+bzr1772), libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libsodium23 (>= 1.0.14), libssl3 (>= 3.0.0), libsystemd0, libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-fpm, phpapi-20170718
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.2/php7.2-fpm_7.2.34-43+0~20230902.90+debian12~1.gbpc2a431_amd64.deb
Size: 1452240
SHA256: ac6a90556763affb177afe6bc33faee558d966261e12576178e6a49028dc79bb
SHA1: c2620d94bf833751cfbb4d592855987576b70bf2
MD5sum: 8e43920316591ba3adacf70211a582a6
Description: server-side, HTML-embedded scripting language (FPM-CGI binary)
This package provides the Fast Process Manager interpreter that runs
as a daemon and receives Fast/CGI requests. Note that MOST Apache users
probably want the libapache2-mod-php7.2 package.
.
The following extensions are built in: Core date filter hash libxml openssl
pcre Reflection session sodium SPL standard zlib.
.
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: 542b40cacbee93baaa98ebd0f607dc65