How to Install and Uninstall php8.2-cgi Package on Debian 10 (Buster)

Last updated: July 08,2024

1. Install "php8.2-cgi" package

This tutorial shows how to install php8.2-cgi on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php8.2-cgi

2. Uninstall "php8.2-cgi" package

Please follow the guidance below to uninstall php8.2-cgi on Debian 10 (Buster):

$ sudo apt remove php8.2-cgi $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.2-cgi package on Debian 10 (Buster)

Package: php8.2-cgi
Source: php8.2
Version: 8.2.0~beta2-1+0~20220815.2+debian10~1.gbp151e57
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 10765
Depends: libmagic1, mime-support, php8.2-cli, php8.2-common (= 8.2.0~beta2-1+0~20220815.2+debian10~1.gbp151e57), php8.2-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.18), libssl1.1 (>= 1.1.1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cgi, php-json, php8.2-json, phpapi-20210903
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.2/php8.2-cgi_8.2.0~beta2-1+0~20220815.2+debian10~1.gbp151e57_amd64.deb
Size: 1658804
SHA256: 86fa96711c18537dcd3a921e2c29cdf7398d60f70b52f8abe5d690e4380e9dec
SHA1: d9824b639dfbd36d398c769175e01d0e463a3ae2
MD5sum: a7e2ea5bdfcf4a13257ffb016a01e3cf
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 php8.2-fpm package.
.
The following extensions are built in: Core date filter hash json libxml
openssl pcntl pcre random 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: f6a5728adf3eb6c6e295e9b0c62b2361