How to Install and Uninstall libapache2-mod-php8.2 Package on Debian 10 (Buster)

Last updated: December 29,2024

1. Install "libapache2-mod-php8.2" package

Please follow the step by step instructions below to install libapache2-mod-php8.2 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install libapache2-mod-php8.2

2. Uninstall "libapache2-mod-php8.2" package

Please follow the guidelines below to uninstall libapache2-mod-php8.2 on Debian 10 (Buster):

$ sudo apt remove libapache2-mod-php8.2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libapache2-mod-php8.2 package on Debian 10 (Buster)

Package: libapache2-mod-php8.2
Source: php8.2
Version: 8.2.0~beta2-1+0~20220815.2+debian10~1.gbp151e57
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 5426
Depends: libmagic1, mime-support, php8.2-cli, php8.2-common (= 8.2.0~beta2-1+0~20220815.2+debian10~1.gbp151e57), php8.2-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-1 (>= 0~20171227), libc6 (>= 2.27), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.18), libssl1.1 (>= 1.1.1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, php-json, php8.2-json, phpapi-20210903
Homepage: http://www.php.net/
Priority: optional
Section: httpd
Filename: pool/main/p/php8.2/libapache2-mod-php8.2_8.2.0~beta2-1+0~20220815.2+debian10~1.gbp151e57_amd64.deb
Size: 1645212
SHA256: 523bb0f02d8e5f5d5214eaf3a4543038430f4d28721c8d650cb38ae23386a805
SHA1: 258251df5fd4aeaa4c051b0e14c2b1f751c599f1
MD5sum: 2d84485c13545cf149005b9de7235f57
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 json libxml
openssl 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: 6a338a642132f78b17e5228372062a40