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

Last updated: December 28,2024

1. Install "php7.3" package

Please follow the instructions below to install php7.3 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php7.3

2. Uninstall "php7.3" package

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

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

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

Package: php7.3
Version: 7.3.33-14+0~20230902.114+debian12~1.gbp764b27
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 82
Depends: libapache2-mod-php7.3 | php7.3-fpm | php7.3-cgi, php7.3-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.3/php7.3_7.3.33-14+0~20230902.114+debian12~1.gbp764b27_all.deb
Size: 47788
SHA256: a4fd0d3b14ebaee6b35112b1f62cb3650af9a001aa70909871b57f9002e8bc78
SHA1: 1ff67954a9da1005c15941f6a4dd5c610cf497d2
MD5sum: f733ac2c0f0b133e3722ba06a21de274
Description: server-side, HTML-embedded scripting language (metapackage)
This package is a metapackage that, when installed, guarantees that you
have at least one of the four server-side versions of the PHP interpreter
installed. Removing this package won't remove PHP from your system, however
it may remove other packages that depend on this one.
.
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: 86488d7a405bdcbac9ece7c307f30abb