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

Last updated: December 24,2024

1. Install "php7.0-cgi" package

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

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

2. Uninstall "php7.0-cgi" package

Here is a brief guide to show you how to uninstall php7.0-cgi on Debian 11 (Bullseye):

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

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

Package: php7.0-cgi
Source: php7.0
Version: 7.0.33-60+0~20220627.68+debian11~1.gbp3d361a
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 8613
Depends: libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.0-cli, php7.0-common (= 7.0.33-60+0~20220627.68+debian11~1.gbp3d361a), php7.0-json, php7.0-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-20151012
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.0/php7.0-cgi_7.0.33-60+0~20220627.68+debian11~1.gbp3d361a_amd64.deb
Size: 1281484
SHA256: 1abe43fd6c6a54cb31eb6d7efdfb16971e550ca395f794276916417e8293f427
SHA1: b1c38c96d74605df9e9d0c2e209c07863410c022
MD5sum: e0e59723301652c5a26eae1c7bf4f0ca
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.0-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: a1f2d8d3301e7b608d6c22738791d06c