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

Last updated: December 29,2024

1. Install "php7.4-cgi" package

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

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

2. Uninstall "php7.4-cgi" package

Here is a brief guide to show you how to uninstall php7.4-cgi on Ubuntu 21.10 (Impish Indri):

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

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

Package: php7.4-cgi
Source: php7.4
Priority: optional
Section: php
Installed-Size: 9201
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.4.26-1+ubuntu21.10.1+deb.sury.org+2
Suggests: php-pear
Provides: php-cgi, phpapi-20190902
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 7.4.26-1+ubuntu21.10.1+deb.sury.org+2), php7.4-json, php7.4-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.34), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.4/php7.4-cgi_7.4.26-1+ubuntu21.10.1+deb.sury.org+2_amd64.deb
Size: 1538830
MD5sum: 87f6fc940697a711b6f4a7738b99b73d
SHA1: cc6d5681cf17423f07659dd7e4163009bfb9a990
SHA256: d0f0e1a15f185df58bcd626eb2ff8a263892fea49ba12eba3eae3b2e3b09e068
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.4-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: 5f30fd56692eb1724cef6ebe9da0032d