How to Install and Uninstall php-cgi Package on Debian 11 (Bullseye)
Last updated: December 24,2024
1. Install "php-cgi" package
Please follow the instructions below to install php-cgi on Debian 11 (Bullseye)
$
sudo apt update
Copied
$
sudo apt install
php-cgi
Copied
2. Uninstall "php-cgi" package
Please follow the guidance below to uninstall php-cgi on Debian 11 (Bullseye):
$
sudo apt remove
php-cgi
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-cgi package on Debian 11 (Bullseye)
Package: php-cgi
Source: php-defaults (92+0~20220117.43+debian11~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 24
Depends: php8.1-cgi
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-cgi_8.1+92+0~20220117.43+debian11~1.gbpe0d14e_all.deb
Size: 7908
SHA256: 46cf155a110c96e483ef711fc068d05117cfe4d67096fb34ca686da5b1b72c31
SHA1: 909f0986f33c678f1360372f61142842c2bac8fd
MD5sum: b9973be4739e261d2694b776bb1f01df
Description: server-side, HTML-embedded scripting language (CGI binary) (default)
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 php-fpm package that provide FastCGI support.
.
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.
.
This package is a dependency package, which depends on latest stable
PHP version (currently 8.1).
Description-md5: 121efaf3977d745652e2f21a65ca6271
Package: php-cgi
Source: php-defaults (76)
Version: 2:7.4+76
Installed-Size: 23
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php7.4-cgi
Description: server-side, HTML-embedded scripting language (CGI binary) (default)
Description-md5: bf8b9c574e9458f532f43e1417178ca4
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-cgi_7.4+76_all.deb
Size: 6852
MD5sum: cf6e76eb40b5541e9a7e2550a1e9b3ac
SHA256: 4de9bd74ad0b5ab3bf13fd2cc0ef367b1b02401942a688b24d40d64547740079
Source: php-defaults (92+0~20220117.43+debian11~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 24
Depends: php8.1-cgi
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-cgi_8.1+92+0~20220117.43+debian11~1.gbpe0d14e_all.deb
Size: 7908
SHA256: 46cf155a110c96e483ef711fc068d05117cfe4d67096fb34ca686da5b1b72c31
SHA1: 909f0986f33c678f1360372f61142842c2bac8fd
MD5sum: b9973be4739e261d2694b776bb1f01df
Description: server-side, HTML-embedded scripting language (CGI binary) (default)
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 php-fpm package that provide FastCGI support.
.
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.
.
This package is a dependency package, which depends on latest stable
PHP version (currently 8.1).
Description-md5: 121efaf3977d745652e2f21a65ca6271
Package: php-cgi
Source: php-defaults (76)
Version: 2:7.4+76
Installed-Size: 23
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php7.4-cgi
Description: server-side, HTML-embedded scripting language (CGI binary) (default)
Description-md5: bf8b9c574e9458f532f43e1417178ca4
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-cgi_7.4+76_all.deb
Size: 6852
MD5sum: cf6e76eb40b5541e9a7e2550a1e9b3ac
SHA256: 4de9bd74ad0b5ab3bf13fd2cc0ef367b1b02401942a688b24d40d64547740079