How to Install and Uninstall php7.1-cgi Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 23,2024

1. Install "php7.1-cgi" package

In this section, we are going to explain the necessary steps to install php7.1-cgi on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "php7.1-cgi" package

This is a short guide on how to uninstall php7.1-cgi on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php7.1-cgi package on Ubuntu 21.10 (Impish Indri)

Package: php7.1-cgi
Source: php7.1
Priority: optional
Section: php
Installed-Size: 8983
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-44+ubuntu21.10.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, phpapi-20160303
Depends: libmagic1, libpcre3 (>= 2:8.35), mime-support, php7.1-cli, php7.1-common (= 7.1.33-44+ubuntu21.10.1+deb.sury.org+1), php7.1-json, php7.1-opcache, tzdata, ucf, libc6 (>= 2.34), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.1/php7.1-cgi_7.1.33-44+ubuntu21.10.1+deb.sury.org+1_amd64.deb
Size: 1460204
MD5sum: 733a57e8475ab061bfae01fc6d17bb5b
SHA1: 3dfe08e25a4ac17fdf55fe6f7798d8123d5577e5
SHA256: f27df937c6e74a919aa5d8779f7f1e2ed50a18e383ae9cd28e4f7f06d28183b3
Description-en: 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