How to Install and Uninstall php5.6-cgi Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 23,2024

1. Install "php5.6-cgi" package

This guide covers the steps necessary to install php5.6-cgi on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php5.6-cgi" package

Please follow the instructions below to uninstall php5.6-cgi on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php5.6-cgi package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php5.6-cgi
Source: php5.6
Priority: optional
Section: php
Installed-Size: 8777
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-61+ubuntu18.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, phpapi-20131226
Depends: libmagic1, libpcre3 (>= 2:8.41), mime-support, php5.6-cli, php5.6-common (= 5.6.40-61+ubuntu18.04.1+deb.sury.org+1), php5.6-json, php5.6-opcache, tzdata, ucf, libc6 (>= 2.27), 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-61+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1274860
MD5sum: 90605ef09ef7a1234b1f3d9197e202b6
SHA1: 62b6b37022d297e4988956f1232069aa6b655c3a
SHA256: eca2ee0bf0ed1c1500e2ce72ed95436268e4600a02210622392364e88faabf3d
Description: server-side, HTML-embedded scripting language (CGI binary)
Description-md5: 74eaac09247c135fe5e0a15798645044