How to Install and Uninstall php5.6-cgi Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 27,2024

1. Install "php5.6-cgi" package

Learn how to install php5.6-cgi on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php5.6-cgi" package

Please follow the guidance below to uninstall php5.6-cgi on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php5.6-cgi package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php5.6-cgi
Source: php5.6
Priority: optional
Section: php
Installed-Size: 8819
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-68+ubuntu20.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, phpapi-20131226
Depends: libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php5.6-cli, php5.6-common (= 5.6.40-68+ubuntu20.04.1+deb.sury.org+1), php5.6-json, php5.6-opcache, tzdata, ucf, libc6 (>= 2.29), 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-68+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 1268716
MD5sum: 1dd2a731ddde0e719c996ce6f4ab9487
SHA1: 355a960c8674afea638f6255387caa8dd2c54e3b
SHA256: 116fde03971da3b388d52e89d55f27390a7e63c064acc7ea7e5013f14f1a9b26
Description: server-side, HTML-embedded scripting language (CGI binary)
Description-md5: 74eaac09247c135fe5e0a15798645044