How to Install and Uninstall libapache2-mod-php7.4 Package on Debian 11 (Bullseye)

Last updated: October 05,2024

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

Please follow the step by step instructions below to install libapache2-mod-php7.4 on Debian 11 (Bullseye)

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

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

Please follow the guidance below to uninstall libapache2-mod-php7.4 on Debian 11 (Bullseye):

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

3. Information about the libapache2-mod-php7.4 package on Debian 11 (Bullseye)

Package: libapache2-mod-php7.4
Source: php7.4
Version: 1:7.4.30-3+0~20220627.69+debian11~1.gbpf2b381
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4601
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 1:7.4.30-3+0~20220627.69+debian11~1.gbpf2b381), php7.4-json, php7.4-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20190902
Homepage: http://www.php.net/
Priority: optional
Section: httpd
Filename: pool/main/p/php7.4/libapache2-mod-php7.4_7.4.30-3+0~20220627.69+debian11~1.gbpf2b381_amd64.deb
Size: 1375640
SHA256: f1ebfdf530552a492f8a66377cefedebd5690f30ab740eaedfc6c896740b69c1
SHA1: c95468d6778d8367a2a27858533310fee53a18bd
MD5sum: 9815ecb68af77cd061a71ac941f7f6fa
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 36d880d2701a181e89a6978caa489dfc

Package: libapache2-mod-php7.4
Source: php7.4
Version: 7.4.30-1+deb11u1
Installed-Size: 4597
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: libapache2-mod-php, phpapi-20190902
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 7.4.30-1+deb11u1), php7.4-json, php7.4-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 36d880d2701a181e89a6978caa489dfc
Homepage: http://www.php.net/
Recommends: apache2
Section: httpd
Priority: optional
Filename: pool/updates/main/p/php7.4/libapache2-mod-php7.4_7.4.30-1+deb11u1_amd64.deb
Size: 1375536
SHA256: 276ed762502494a53f29a0e07189ac1c24cc737446a01fbcc83c218a95e25ed9

Package: libapache2-mod-php7.4
Source: php7.4
Version: 7.4.28-1+deb11u1
Installed-Size: 4597
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: libapache2-mod-php, phpapi-20190902
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 7.4.28-1+deb11u1), php7.4-json, php7.4-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 36d880d2701a181e89a6978caa489dfc
Homepage: http://www.php.net/
Tag: devel::interpreter, devel::runtime, implemented-in::c, role::plugin,
role::shared-lib, suite::apache, web::scripting
Section: httpd
Priority: optional
Filename: pool/main/p/php7.4/libapache2-mod-php7.4_7.4.28-1+deb11u1_amd64.deb
Size: 1374420
MD5sum: 63617cb9a81cc42403d6272eb00e7dd7
SHA256: af207cb15729a0e01cc0b042577d663d5c438026d9b9cde8b1d2e2425d7d5ef6