How to Install and Uninstall php8.2-cgi Package on Kali Linux

Last updated: September 28,2024

1. Install "php8.2-cgi" package

This tutorial shows how to install php8.2-cgi on Kali Linux

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

2. Uninstall "php8.2-cgi" package

Please follow the steps below to uninstall php8.2-cgi on Kali Linux:

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

3. Information about the php8.2-cgi package on Kali Linux

Package: php8.2-cgi
Source: php8.2 (8.2.12-1)
Version: 8.2.12-1+b1
Installed-Size: 10851
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: php-cgi, php-json, php8.2-json, phpapi-20220829
Depends: libmagic1, media-types | mime-support, php8.2-cli, php8.2-common (= 8.2.12-1+b1), php8.2-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.18), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Size: 1679152
SHA256: 47bb6b83fbda2801a8c0c833fdd8193f7e8ea5dbcce098b6b43b8431c85a0944
SHA1: 7f1732ebe52881527fc53855d4e1e926ed6ce489
MD5sum: 106451a207cffa82a6f9b2030d9dd67c
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:
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/main/p/php8.2/php8.2-cgi_8.2.12-1+b1_amd64.deb