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

Last updated: July 01,2024

1. Install "php7.2-cgi" package

Please follow the guidance below to install php7.2-cgi on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "php7.2-cgi" package

Please follow the instructions below to uninstall php7.2-cgi on Ubuntu 21.10 (Impish Indri):

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

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

Package: php7.2-cgi
Source: php7.2
Priority: optional
Section: php
Installed-Size: 9729
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-28+ubuntu21.10.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, phpapi-20170718
Depends: libmagic1, libpcre3 (>= 2:8.35), mime-support, php7.2-cli, php7.2-common (= 7.2.34-28+ubuntu21.10.1+deb.sury.org+1), php7.2-json, php7.2-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.34), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.2/php7.2-cgi_7.2.34-28+ubuntu21.10.1+deb.sury.org+1_amd64.deb
Size: 1548506
MD5sum: ea0262dfa3f57c840039727c9f9cedc1
SHA1: 0db7917dc162ca9e15ddc88e022ff93b59ce8edd
SHA256: b8de2f7cad1e741c27fb6a8b6664ff7d7fe76cbddca95b9c97cec2bd5284dcd0
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.2-fpm package.
.
The following extensions are built in: Core date filter hash 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: 97125b602be5fad16ac2438eb8339454