How to Install and Uninstall php8.2-cgi Package on Debian 11 (Bullseye)

Last updated: December 26,2024

1. Install "php8.2-cgi" package

This is a short guide on how to install php8.2-cgi on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php8.2-cgi

2. Uninstall "php8.2-cgi" package

Please follow the step by step instructions below to uninstall php8.2-cgi on Debian 11 (Bullseye):

$ sudo apt remove php8.2-cgi $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.2-cgi package on Debian 11 (Bullseye)

Package: php8.2-cgi
Source: php8.2
Version: 8.2.0~beta2-1+0~20220815.2+debian11~1.gbp151e57
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 10771
Depends: libmagic1, mime-support, php8.2-cli, php8.2-common (= 8.2.0~beta2-1+0~20220815.2+debian11~1.gbp151e57), php8.2-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.18), libssl1.1 (>= 1.1.1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cgi, php-json, php8.2-json, phpapi-20210903
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.2/php8.2-cgi_8.2.0~beta2-1+0~20220815.2+debian11~1.gbp151e57_amd64.deb
Size: 1655432
SHA256: 63056f20cbb400c5b1059b90efe0f2da36c6b2c90afe269e60093aa9b335d847
SHA1: feb33a6299692e0d3e1f14a8f0184e6befc566a7
MD5sum: 73361193de497ac56e0ed4f6ac9ca5c5
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 php8.2-fpm package.
.
The following extensions are built in: Core date filter hash json libxml
openssl pcntl pcre random 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: f6a5728adf3eb6c6e295e9b0c62b2361