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

Last updated: November 23,2024

1. Install "php7.1-cgi" package

This guide let you learn how to install php7.1-cgi on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.1-cgi" package

Please follow the step by step instructions below to uninstall php7.1-cgi on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.1-cgi
Source: php7.1
Priority: optional
Section: php
Installed-Size: 8753
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-48+ubuntu18.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, phpapi-20160303
Depends: libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.1-cli, php7.1-common (= 7.1.33-48+ubuntu18.04.1+deb.sury.org+1), php7.1-json, php7.1-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.1/php7.1-cgi_7.1.33-48+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1305260
MD5sum: 4c8f39d0d72b459426781e0ed5dab2d4
SHA1: 487c3583c2ac5b434fd76a7d26b08c97bc7b294a
SHA256: 9e07054c63668ee3097364e8e8cb9270c4eae3fdefc2f8e6ee32694a38b9f241
Description: server-side, HTML-embedded scripting language (CGI binary)
Description-md5: 215ea9954cc861d8f3858738c70921ad