How to Install and Uninstall php8.3-cgi Package on Debian 12 (Bookworm)

Last updated: May 18,2024

1. Install "php8.3-cgi" package

This tutorial shows how to install php8.3-cgi on Debian 12 (Bookworm)

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

2. Uninstall "php8.3-cgi" package

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

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

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

Package: php8.3-cgi
Source: php8.3
Version: 8.3.3-1+0~20240216.17+debian12~1.gbp87e37b
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 11025
Depends: libmagic1, media-types | mime-support, php8.3-cli, php8.3-common (= 8.3.3-1+0~20240216.17+debian12~1.gbp87e37b), php8.3-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
Provides: php-cgi, php-json, php8.3-json, phpapi-20230831
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.3/php8.3-cgi_8.3.3-1+0~20240216.17+debian12~1.gbp87e37b_amd64.deb
Size: 1724640
SHA256: b6e936eec8b49554c4abcc9d09193c69d61e60eefb418d571726f92e1b0d3978
SHA1: aa80320edf3c18181aca179ed71b07f7d96ca112
MD5sum: 0ab0f0a4f2821a8e6bdfbc6fe1f7b806
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.3-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: 288b36334192954bec2d1b4971641085