How to Install and Uninstall libapache2-mod-php7.4 Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 26,2024
1. Install "libapache2-mod-php7.4" package
In this section, we are going to explain the necessary steps to install libapache2-mod-php7.4 on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
libapache2-mod-php7.4
Copied
2. Uninstall "libapache2-mod-php7.4" package
Learn how to uninstall libapache2-mod-php7.4 on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
libapache2-mod-php7.4
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libapache2-mod-php7.4 package on Ubuntu 21.04 (Hirsute Hippo)
Package: libapache2-mod-php7.4
Source: php7.4
Priority: optional
Section: httpd
Installed-Size: 4577
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.4.20-1+ubuntu21.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20190902
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 7.4.20-1+ubuntu21.04.1+deb.sury.org+1), php7.4-json, php7.4-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-1 (>= 0~20171227), libc6 (>= 2.33), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.4/libapache2-mod-php7.4_7.4.20-1+ubuntu21.04.1+deb.sury.org+1_amd64.deb
Size: 1370192
MD5sum: 21b6ff2c3865997cd430c353e83c46c6
SHA1: 287ff49ce89073fd48bb2562396fd164335bcf1d
SHA256: 5ae04f11e0eb5ce479052146c7e338dfa309cf2f5d8ef4f9f0300347acc95724
Description-en: 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
Package: libapache2-mod-php7.4
Architecture: amd64
Version: 7.4.16-1ubuntu2
Priority: optional
Section: httpd
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4577
Provides: libapache2-mod-php, phpapi-20190902
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 7.4.16-1ubuntu2), php7.4-json, php7.4-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-1 (>= 0~20171227), libc6 (>= 2.33), 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
Conflicts: libapache2-mod-php7.2, libapache2-mod-php7.3
Filename: pool/main/p/php7.4/libapache2-mod-php7.4_7.4.16-1ubuntu2_amd64.deb
Size: 1370152
MD5sum: a76ac4984ed429280d87a5700bb504c7
SHA1: 82be8f521744ffd2997e425be6549a5af1accc44
SHA256: ac33c6bd2d94b9b628aa6af9ccbc6654c43e2508fadaa131a68c5260524a862b
SHA512: 703e5dc71ece7941c472b2ac3680b6b6a6c754060438a84a7edbe5f623f214af97c554885233d5dca7d68a03eba0674d1733b6ab73fec8fe3b580680dc13e8ee
Homepage: http://www.php.net/
Description-en: 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
Task: lamp-server
Source: php7.4
Priority: optional
Section: httpd
Installed-Size: 4577
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.4.20-1+ubuntu21.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20190902
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 7.4.20-1+ubuntu21.04.1+deb.sury.org+1), php7.4-json, php7.4-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-1 (>= 0~20171227), libc6 (>= 2.33), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.4/libapache2-mod-php7.4_7.4.20-1+ubuntu21.04.1+deb.sury.org+1_amd64.deb
Size: 1370192
MD5sum: 21b6ff2c3865997cd430c353e83c46c6
SHA1: 287ff49ce89073fd48bb2562396fd164335bcf1d
SHA256: 5ae04f11e0eb5ce479052146c7e338dfa309cf2f5d8ef4f9f0300347acc95724
Description-en: 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
Package: libapache2-mod-php7.4
Architecture: amd64
Version: 7.4.16-1ubuntu2
Priority: optional
Section: httpd
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4577
Provides: libapache2-mod-php, phpapi-20190902
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 7.4.16-1ubuntu2), php7.4-json, php7.4-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-1 (>= 0~20171227), libc6 (>= 2.33), 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
Conflicts: libapache2-mod-php7.2, libapache2-mod-php7.3
Filename: pool/main/p/php7.4/libapache2-mod-php7.4_7.4.16-1ubuntu2_amd64.deb
Size: 1370152
MD5sum: a76ac4984ed429280d87a5700bb504c7
SHA1: 82be8f521744ffd2997e425be6549a5af1accc44
SHA256: ac33c6bd2d94b9b628aa6af9ccbc6654c43e2508fadaa131a68c5260524a862b
SHA512: 703e5dc71ece7941c472b2ac3680b6b6a6c754060438a84a7edbe5f623f214af97c554885233d5dca7d68a03eba0674d1733b6ab73fec8fe3b580680dc13e8ee
Homepage: http://www.php.net/
Description-en: 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
Task: lamp-server