How to Install and Uninstall php7.4-cgi Package on Debian 12 (Bookworm)

Last updated: September 20,2024

1. Install "php7.4-cgi" package

Please follow the instructions below to install php7.4-cgi on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php7.4-cgi

2. Uninstall "php7.4-cgi" package

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

$ sudo apt remove php7.4-cgi $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.4-cgi package on Debian 12 (Bookworm)

Package: php7.4-cgi
Source: php7.4
Version: 1:7.4.33-8+0~20230904.88+debian12~1.gbp87c414
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 9185
Depends: libmagic1, media-types | mime-support, php7.4-cli, php7.4-common (= 1:7.4.33-8+0~20230904.88+debian12~1.gbp87c414), php7.4-json, php7.4-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cgi, phpapi-20190902
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.4/php7.4-cgi_7.4.33-8+0~20230904.88+debian12~1.gbp87c414_amd64.deb
Size: 1412176
SHA256: 299b65d97de00c2cb03e0f27b260221ea6ad4bd79101783348c7f021682bba6d
SHA1: 574ca0b2220db71c626eaaa43d8ddee343ce99f0
MD5sum: 2a3859f978ebfe6c8120615704c5a5df
Description: server-side, HTML-embedded scripting language (CGI binary)
This package provides the /usr/lib/cgi-bin/php CGI interpreter built
for use in Apache 2 with mod_actions, or any other CGI httpd that
supports a similar mechanism. Note that MOST users probably
want the php7.4-fpm package.
.
The following extensions are built in: Core date filter hash libxml openssl
pcntl 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: 5f30fd56692eb1724cef6ebe9da0032d