How to Install and Uninstall libapache2-mod-php8.1 Package on Debian 12 (Bookworm)
Last updated: November 26,2024
Notice
You can also install and uninstall the libapache2-mod-php8.1 on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "libapache2-mod-php8.1" package
Please follow the instructions below to install libapache2-mod-php8.1 on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
libapache2-mod-php8.1
Copied
2. Uninstall "libapache2-mod-php8.1" package
Please follow the guidelines below to uninstall libapache2-mod-php8.1 on Debian 12 (Bookworm):
$
sudo apt remove
libapache2-mod-php8.1
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libapache2-mod-php8.1 package on Debian 12 (Bookworm)
Package: libapache2-mod-php8.1
Source: php8.1
Version: 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 5365
Depends: libmagic1, media-types | mime-support, php8.1-cli, php8.1-common (= 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2), php8.1-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.18), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, php-json, php8.1-json, phpapi-20210902
Homepage: http://www.php.net/
Priority: optional
Section: httpd
Filename: pool/main/p/php8.1/libapache2-mod-php8.1_8.1.27-1+0~20231221.58+debian12~1.gbp3895b2_amd64.deb
Size: 1642172
SHA256: f3bd353deabeb4fca9cbf89b969d016e8e53b615d35184fc6d582ffcfabf9c81
SHA1: 341da3c0c072097ab48da0be69634fe1c77f3d08
MD5sum: 3eea4055c0133413b8c5e07e3d77089b
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 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: 57ae373b2a8e4719810a4c745ba4a8df
Source: php8.1
Version: 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 5365
Depends: libmagic1, media-types | mime-support, php8.1-cli, php8.1-common (= 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2), php8.1-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.18), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, php-json, php8.1-json, phpapi-20210902
Homepage: http://www.php.net/
Priority: optional
Section: httpd
Filename: pool/main/p/php8.1/libapache2-mod-php8.1_8.1.27-1+0~20231221.58+debian12~1.gbp3895b2_amd64.deb
Size: 1642172
SHA256: f3bd353deabeb4fca9cbf89b969d016e8e53b615d35184fc6d582ffcfabf9c81
SHA1: 341da3c0c072097ab48da0be69634fe1c77f3d08
MD5sum: 3eea4055c0133413b8c5e07e3d77089b
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 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: 57ae373b2a8e4719810a4c745ba4a8df