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

Last updated: May 13,2024

1. Install "php7.3-cgi" package

Please follow the guidance below to install php7.3-cgi on Debian 12 (Bookworm)

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

2. Uninstall "php7.3-cgi" package

Please follow the guidance below to uninstall php7.3-cgi on Debian 12 (Bookworm):

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

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

Package: php7.3-cgi
Source: php7.3
Version: 7.3.33-14+0~20230902.114+debian12~1.gbp764b27
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 9225
Depends: libmagic1, media-types | mime-support, php7.3-cli, php7.3-common (= 7.3.33-14+0~20230902.114+debian12~1.gbp764b27), php7.3-json, php7.3-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cgi, phpapi-20180731
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.3/php7.3-cgi_7.3.33-14+0~20230902.114+debian12~1.gbp764b27_amd64.deb
Size: 1392516
SHA256: ecb3ed11f5b7ead05b058662dcdef99cfca88746ceb8a5d4a8cb1da966c7ebac
SHA1: 46df388792802ba20baefaf30699104857b8a41a
MD5sum: a9905766b508ebe7b457b236f4f56749
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 php7.3-fpm package.
.
The following extensions are built in: Core date filter hash 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: 300ddf99125d57d9c97bdf2b34b3034f