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

Last updated: November 08,2024

1. Install "php7.0-cgi" package

In this section, we are going to explain the necessary steps to install php7.0-cgi on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.0-cgi" package

This guide let you learn how to uninstall php7.0-cgi on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.0-cgi
Source: php7.0
Priority: optional
Section: php
Installed-Size: 8447
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-61+ubuntu18.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, phpapi-20151012
Depends: libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.0-cli, php7.0-common (= 7.0.33-61+ubuntu18.04.1+deb.sury.org+1), php7.0-json, php7.0-opcache, tzdata, ucf, libc6 (>= 2.27), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.0/php7.0-cgi_7.0.33-61+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1264088
MD5sum: 60721bed556502453f4a4cb369f32802
SHA1: b219fa6b56af321917c30cfaa78e36c818b4b5a9
SHA256: ff0eb2be717fb69d7345c8fbd381c70580db61a4cf974c8e743be42000071a69
Description: server-side, HTML-embedded scripting language (CGI binary)
Description-md5: a1f2d8d3301e7b608d6c22738791d06c