How to Install and Uninstall libapache2-mod-php5.6 Package on Debian 11 (Bullseye)
Last updated: December 25,2024
1. Install "libapache2-mod-php5.6" package
Here is a brief guide to show you how to install libapache2-mod-php5.6 on Debian 11 (Bullseye)
$
sudo apt update
Copied
$
sudo apt install
libapache2-mod-php5.6
Copied
2. Uninstall "libapache2-mod-php5.6" package
This tutorial shows how to uninstall libapache2-mod-php5.6 on Debian 11 (Bullseye):
$
sudo apt remove
libapache2-mod-php5.6
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libapache2-mod-php5.6 package on Debian 11 (Bullseye)
Package: libapache2-mod-php5.6
Source: php5.6
Version: 5.6.40-60+0~20220627.67+debian11~1.gbp1f7ffd
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4368
Depends: libmagic1, libpcre3 (>= 2:8.41), mime-support, php5.6-cli, php5.6-common (= 5.6.40-60+0~20220627.67+debian11~1.gbp1f7ffd), php5.6-json, php5.6-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libc6 (>= 2.29), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20131226
Homepage: http://www.php.net/
Priority: optional
Section: httpd
Filename: pool/main/p/php5.6/libapache2-mod-php5.6_5.6.40-60+0~20220627.67+debian11~1.gbp1f7ffd_amd64.deb
Size: 1231496
SHA256: 37eadef9df36787e52f7a237343dae2f74816d0e2a30cb8cd0bda680d9a299e5
SHA1: b5cfe17c0804fb3916ecb9082c76cf8487a30408
MD5sum: e233f952547d6bdcc9ecfda7a082d666
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 ereg filter hash libxml
mhash openssl pcre Reflection session 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: 98f0ba0078ba49c540575971f6fbdbc6
Source: php5.6
Version: 5.6.40-60+0~20220627.67+debian11~1.gbp1f7ffd
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4368
Depends: libmagic1, libpcre3 (>= 2:8.41), mime-support, php5.6-cli, php5.6-common (= 5.6.40-60+0~20220627.67+debian11~1.gbp1f7ffd), php5.6-json, php5.6-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libc6 (>= 2.29), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20131226
Homepage: http://www.php.net/
Priority: optional
Section: httpd
Filename: pool/main/p/php5.6/libapache2-mod-php5.6_5.6.40-60+0~20220627.67+debian11~1.gbp1f7ffd_amd64.deb
Size: 1231496
SHA256: 37eadef9df36787e52f7a237343dae2f74816d0e2a30cb8cd0bda680d9a299e5
SHA1: b5cfe17c0804fb3916ecb9082c76cf8487a30408
MD5sum: e233f952547d6bdcc9ecfda7a082d666
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 ereg filter hash libxml
mhash openssl pcre Reflection session 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: 98f0ba0078ba49c540575971f6fbdbc6