How to Install and Uninstall libapache2-mod-php7.4 Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 07,2024

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

Here is a brief guide to show you how to install libapache2-mod-php7.4 on Ubuntu 20.10 (Groovy Gorilla)

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

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

Please follow the steps below to uninstall libapache2-mod-php7.4 on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the libapache2-mod-php7.4 package on Ubuntu 20.10 (Groovy Gorilla)

Package: libapache2-mod-php7.4
Architecture: amd64
Version: 7.4.9-1ubuntu1.1
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: 4573
Provides: libapache2-mod-php, phpapi-20190902
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 7.4.9-1ubuntu1.1), 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
Conflicts: libapache2-mod-php7.2, libapache2-mod-php7.3
Filename: pool/main/p/php7.4/libapache2-mod-php7.4_7.4.9-1ubuntu1.1_amd64.deb
Size: 1368908
MD5sum: ee9e9486853853e0f38c13d1e8ca0212
SHA1: a01e46e5c4331a9f1d48210fed512c834ef38b85
SHA256: e06ac677cc439facb2d14d3a36d4bd896772748f396db535c7fbd2524f59efae
SHA512: c7ac8bfb972a018f0d39f57b4e54bec6355f2b9a5ac8eaf79c6e3ed760755d864e911847ac7d89e28f91c8b8c32d5ee4c142a36a02ab314d1734ab27e42eeb9d
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

Package: libapache2-mod-php7.4
Architecture: amd64
Version: 7.4.9-1ubuntu1
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: 4573
Provides: libapache2-mod-php, phpapi-20190902
Depends: libmagic1, mime-support, php7.4-cli, php7.4-common (= 7.4.9-1ubuntu1), 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
Conflicts: libapache2-mod-php7.2, libapache2-mod-php7.3
Filename: pool/main/p/php7.4/libapache2-mod-php7.4_7.4.9-1ubuntu1_amd64.deb
Size: 1368332
MD5sum: bf301601ec426f1c01319c79e002ae2e
SHA1: e9a6c0ba0cd495aea35d97ee7bb23ac5b9c888e3
SHA256: 323eacb0db412b67a30f2ab80080ed819e8347481c5ae6f47a83a7743c1c475f
SHA512: 59a328449ed2e8e2012396cb550e9646d6ad4249ae68f6f6e84db358faf5bc500df5ca848963de4e3bae9975180b53de268073e2990466fff842173c1798807d
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