How to Install and Uninstall php-cgi Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 15,2024

1. Install "php-cgi" package

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

$ sudo apt update $ sudo apt install php-cgi

2. Uninstall "php-cgi" package

This guide covers the steps necessary to uninstall php-cgi on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-cgi $ sudo apt autoclean && sudo apt autoremove

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

Package: php-cgi
Source: php-defaults (85+ubuntu21.10.1+deb.sury.org+1)
Priority: optional
Section: php
Installed-Size: 23
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.0+85+ubuntu21.10.1+deb.sury.org+1
Depends: php8.0-cgi
Filename: pool/main/p/php-defaults/php-cgi_8.0+85+ubuntu21.10.1+deb.sury.org+1_all.deb
Size: 7474
MD5sum: f04d31657fbbc3622598f50d305d8408
SHA1: dc52f896fe717540c3eab99fee0a592abeb2346a
SHA256: 204d00cf427fbb8b57a35ed9c73272c5bdfd0f0c4586d7876d39afa44a8b465e
Description-en: server-side, HTML-embedded scripting language (CGI binary) (default)
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 php-fpm package that provide FastCGI support.
.
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.
.
This package is a dependency package, which depends on latest stable
PHP version (currently 8.0).
Description-md5: 9e7067a2f33f09b2a793b34a78b9e358

Package: php-cgi
Architecture: all
Version: 2:8.0+82~0build1
Priority: optional
Section: php
Source: php-defaults (82~0build1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23
Depends: php8.0-cgi
Filename: pool/main/p/php-defaults/php-cgi_8.0+82~0build1_all.deb
Size: 3444
MD5sum: 85f2253d691746012e3f62e31980cb75
SHA1: f4159c71e92132fa5277e2da7e54ed3d4a170075
SHA256: 4c79de77c74a3504a937b9c627e1655954ab27f9c03811a3b37c4a67da7a6b89
SHA512: 86a16451142a8c6584009a3def1b25df6fa4b94a11324e005057fbbb5ae0eea955744fb77fb0a17340279e7dd20577b6cfd50930c7c277d849371d938cdcb104
Description-en: server-side, HTML-embedded scripting language (CGI binary) (default)
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 php-fpm package that provide FastCGI support.
.
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.
.
This package is a dependency package, which depends on latest stable
PHP version (currently 8.0).
Description-md5: 9e7067a2f33f09b2a793b34a78b9e358