How to Install and Uninstall php7.1-cgi Package on Debian 11 (Bullseye)

Last updated: November 26,2024

1. Install "php7.1-cgi" package

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

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

2. Uninstall "php7.1-cgi" package

This guide covers the steps necessary to uninstall php7.1-cgi on Debian 11 (Bullseye):

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

3. Information about the php7.1-cgi package on Debian 11 (Bullseye)

Package: php7.1-cgi
Source: php7.1
Version: 7.1.33-47+0~20220627.68+debian11~1.gbp1fc917
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 8919
Depends: libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.1-cli, php7.1-common (= 7.1.33-47+0~20220627.68+debian11~1.gbp1fc917), php7.1-json, php7.1-opcache, tzdata, ucf, libc6 (>= 2.29), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cgi, phpapi-20160303
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.1/php7.1-cgi_7.1.33-47+0~20220627.68+debian11~1.gbp1fc917_amd64.deb
Size: 1322520
SHA256: 3fe60a14126a652751d7f5ad55b2d38aa8e224a8e79a386608d342b4c6d6194d
SHA1: f355cd1aab4cb6faec0f052c3de0b50da9540a23
MD5sum: 8dd8f00bbfa5c355559b47fb8f9647ce
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.1-fpm package.
.
The following extensions are built in: Core date filter hash libxml openssl
pcntl pcre Reflection session 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: 215ea9954cc861d8f3858738c70921ad