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

Last updated: July 05,2024

1. Install "php5.6-cgi" package

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

$ sudo apt update $ sudo apt install php5.6-cgi

2. Uninstall "php5.6-cgi" package

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

$ sudo apt remove php5.6-cgi $ sudo apt autoclean && sudo apt autoremove

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

Package: php5.6-cgi
Source: php5.6
Priority: optional
Section: php
Installed-Size: 8721
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-57+ubuntu21.10.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, phpapi-20131226
Depends: libmagic1, libpcre3 (>= 2:8.35), mime-support, php5.6-cli, php5.6-common (= 5.6.40-57+ubuntu21.10.1+deb.sury.org+1), php5.6-json, php5.6-opcache, tzdata, ucf, libc6 (>= 2.34), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php5.6/php5.6-cgi_5.6.40-57+ubuntu21.10.1+deb.sury.org+1_amd64.deb
Size: 1380904
MD5sum: 5c59b78dbcd3faaf9c8e2d3b940113cf
SHA1: 7ff9a1d72e69e13e605ae9440ce98ad6d4757956
SHA256: 6ec4eb7acbfaad94c5000fb59763d6ee57bcfcf3da7ff6d10012e856b2a23f0c
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 php5.6-fpm package.
.
The following extensions are built in: Core date ereg filter hash libxml
mhash 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: 74eaac09247c135fe5e0a15798645044