How to Install and Uninstall php5.6-cgi Package on Debian 12 (Bookworm)

Last updated: May 18,2024

1. Install "php5.6-cgi" package

Please follow the steps below to install php5.6-cgi on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php5.6-cgi

2. Uninstall "php5.6-cgi" package

Here is a brief guide to show you how to uninstall php5.6-cgi on Debian 12 (Bookworm):

$ sudo apt remove php5.6-cgi $ sudo apt autoclean && sudo apt autoremove

3. Information about the php5.6-cgi package on Debian 12 (Bookworm)

Package: php5.6-cgi
Source: php5.6
Version: 5.6.40-68+0~20230902.80+debian12~1.gbpa2012b
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 8537
Depends: libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php5.6-cli, php5.6-common (= 5.6.40-68+0~20230902.80+debian12~1.gbpa2012b), php5.6-json, php5.6-opcache, tzdata, ucf, libc6 (>= 2.35), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cgi, phpapi-20131226
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php5.6/php5.6-cgi_5.6.40-68+0~20230902.80+debian12~1.gbpa2012b_amd64.deb
Size: 1252552
SHA256: fc243a149b6de526faeebac59ad505e613d7a051c780db9d285912138c102697
SHA1: 12bf01c3711fc1a34d08a18a220b2a0a79f3accf
MD5sum: 8d4df47de9b3ed3edff90636b0a8021c
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 php5.6-fpm package.
.
The following extensions are built in: Core date ereg filter hash libxml
mhash openssl pcntl pcre Reflection session 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: 74eaac09247c135fe5e0a15798645044