How to Install and Uninstall php7.4-cgi Package on Debian 10 (Buster)

Last updated: November 21,2024

1. Install "php7.4-cgi" package

This tutorial shows how to install php7.4-cgi on Debian 10 (Buster)

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

2. Uninstall "php7.4-cgi" package

Please follow the guidelines below to uninstall php7.4-cgi on Debian 10 (Buster):

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

3. Information about the php7.4-cgi package on Debian 10 (Buster)

Package: php7.4-cgi
Source: php7.4
Version: 1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 9091
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381), php7.4-json, php7.4-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cgi, phpapi-20190902
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.4/php7.4-cgi_7.4.30-3+0~20220627.69+debian10~1.gbpf2b381_amd64.deb
Size: 1390120
SHA256: 8903dd3553496eb43a327f44eb21f0686be88996524b98a3f80a19752350e4a6
SHA1: bf96264922a2433bdc4c45f5c65d5af6fd164da3
MD5sum: 3a5a429859a85ac5f5d1383663baed30
Description: 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.4-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: 5f30fd56692eb1724cef6ebe9da0032d