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

Last updated: November 22,2024

1. Install "libapache2-mod-php7.3" package

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

$ sudo apt update $ sudo apt install libapache2-mod-php7.3

2. Uninstall "libapache2-mod-php7.3" package

This guide covers the steps necessary to uninstall libapache2-mod-php7.3 on Debian 12 (Bookworm):

$ sudo apt remove libapache2-mod-php7.3 $ sudo apt autoclean && sudo apt autoremove

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

Package: libapache2-mod-php7.3
Source: php7.3
Version: 7.3.33-14+0~20230902.114+debian12~1.gbp764b27
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4649
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, apache2-api-20120211, apache2-bin (>= 2.4.16), 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)
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20180731
Homepage: http://www.php.net/
Priority: optional
Section: httpd
Filename: pool/main/p/php7.3/libapache2-mod-php7.3_7.3.33-14+0~20230902.114+debian12~1.gbp764b27_amd64.deb
Size: 1378584
SHA256: 1350d869581fb4e66e403332304f23adec75b6dee8b313ab8f9ed3e5174d6e59
SHA1: bd91c5bf7a7a444c83aa6e5e890ab2b36fb56c5b
MD5sum: 8b632cc1aa6e43442a5fda94c7bf7fe8
Description: server-side, HTML-embedded scripting language (Apache 2 module)
This package provides the PHP module for the Apache 2 webserver (as
found in the apache2-mpm-prefork package). Please note that this package
ONLY works with Apache's prefork MPM, as it is not compiled thread-safe.
.
The following extensions are built in: Core date filter hash libxml openssl
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: 36d880d2701a181e89a6978caa489dfc