How to Install and Uninstall php7.0-cgi Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 26,2024

1. Install "php7.0-cgi" package

Please follow the guidance below to install php7.0-cgi on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php7.0-cgi" package

Here is a brief guide to show you how to uninstall php7.0-cgi on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php7.0-cgi package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php7.0-cgi
Source: php7.0
Priority: optional
Section: php
Installed-Size: 8685
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu22.04.1+deb.sury.org+2
Suggests: php-pear
Provides: php-cgi, phpapi-20151012
Depends: libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php7.0-cli, php7.0-common (= 7.0.33-68+ubuntu22.04.1+deb.sury.org+2), php7.0-json, php7.0-opcache, tzdata, ucf, libc6 (>= 2.35), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.0/php7.0-cgi_7.0.33-68+ubuntu22.04.1+deb.sury.org+2_amd64.deb
Size: 1416930
MD5sum: baa0af794fc281326238a17beb761aaf
SHA1: 70af97b906c466c81bea472c268b93e1848116c7
SHA256: 8bb16477e664067b1e117c8d2c0c57f2ab6d8917a07cff7cebd929dbb6ef820f
Description: server-side, HTML-embedded scripting language (CGI binary)
Description-md5: a1f2d8d3301e7b608d6c22738791d06c