How to Install and Uninstall php7.3-cgi Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: March 10,2025

1. Install "php7.3-cgi" package

Learn how to install php7.3-cgi on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.3-cgi" package

Learn how to uninstall php7.3-cgi on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.3-cgi package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.3-cgi
Source: php7.3
Priority: optional
Section: php
Installed-Size: 9018
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.3.28-1+ubuntu16.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, phpapi-20180731
Depends: libmagic1, mime-support, php7.3-cli, php7.3-common (= 7.3.28-1+ubuntu16.04.1+deb.sury.org+1), php7.3-json, php7.3-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.15), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.3/php7.3-cgi_7.3.28-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 1331160
MD5sum: f96b9536c9ba5424c5247816eb83a58d
SHA1: e9242de6a95432180b430eb125ef87f8414e77fa
SHA256: d6313591a73e18305779f3de3067d764f46feac67708b40ee5b04e33adedec42
Description-en: server-side, HTML-embedded scripting language (CGI binary)
This package provides the /usr/lib/cgi-bin/php CGI interpreter built
for use in Apache 2 with mod_actions, or any other CGI httpd that
supports a similar mechanism. Note that MOST users probably
want the php7.3-fpm package.
.
The following extensions are built in: Core date filter hash libxml openssl
pcntl pcre Reflection session sodium SPL standard zlib.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: 300ddf99125d57d9c97bdf2b34b3034f