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

Last updated: November 25,2024

1. Install "php8.1-cgi" package

This guide let you learn how to install php8.1-cgi on Kali Linux

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

2. Uninstall "php8.1-cgi" package

This tutorial shows how to uninstall php8.1-cgi on Kali Linux:

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

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

Package: php8.1-cgi
Source: php8.1 (8.1.5-1)
Version: 8.1.5-1+b1
Installed-Size: 10515
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: php-cgi, php8.1-json, phpapi-20210902
Depends: libmagic1, mime-support, php8.1-cli, php8.1-common (= 8.1.5-1+b1), php8.1-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.33), 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: 1617836
SHA256: ccf398fdc502063e4f20498d9968454d1ad788cc8882a3b8dddb86045a7c77d0
SHA1: 667edd712ea6037706fddbb006b668f6e1ab5ff9
MD5sum: f7bcfcaa8caab56d9c65896067797528
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.1-fpm package.
.
The following extensions are built in: Core date filter hash json 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: d56129a9453d4b8230f1c2dfa0da00a7
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/main/p/php8.1/php8.1-cgi_8.1.5-1+b1_amd64.deb