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

Last updated: July 01,2024

1. Install "php8.0-cgi" package

In this section, we are going to explain the necessary steps to install php8.0-cgi on Debian 11 (Bullseye)

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

2. Uninstall "php8.0-cgi" package

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

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

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

Package: php8.0-cgi
Source: php8.0
Version: 1:8.0.22-1+0~20220815.40+debian11~1.gbpf6bdf4
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 9473
Depends: libmagic1, mime-support, php8.0-cli, php8.0-common (= 1:8.0.22-1+0~20220815.40+debian11~1.gbpf6bdf4), php8.0-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cgi, php-json, php8.0-json, phpapi-20200930
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.0/php8.0-cgi_8.0.22-1+0~20220815.40+debian11~1.gbpf6bdf4_amd64.deb
Size: 1433920
SHA256: 01feb62e5b143c4628f179563374547439feffd6367d50c06ff7a7040f2a347d
SHA1: adf9370bc2633c2984d9715545065262da5de550
MD5sum: d5def197f349fc95c7987e5946125a76
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.0-fpm package.
.
The following extensions are built in: Core date filter hash json 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: e86ac929005c0f0f77ad503b328a7af8