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

Last updated: May 17,2024

1. Install "libapache2-mod-php" package

This is a short guide on how to install libapache2-mod-php on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libapache2-mod-php

2. Uninstall "libapache2-mod-php" package

This guide let you learn how to uninstall libapache2-mod-php on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove libapache2-mod-php $ sudo apt autoclean && sudo apt autoremove

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

Package: libapache2-mod-php
Architecture: all
Version: 2:7.4+76
Priority: optional
Section: php
Source: php-defaults (76)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17
Depends: libapache2-mod-php7.4
Filename: pool/main/p/php-defaults/libapache2-mod-php_7.4+76_all.deb
Size: 2904
MD5sum: aa11eba822eb2cd824f137a8c47f96c5
SHA1: d938be31ae34a2f46e87783a50139d17e5e23f5e
SHA256: 6133af8fb2f9339bafbd0177bbc5b6c4d7905872bd061bf6b203d8b739bb891c
SHA512: 13832654e016e92cff3341760a50ec420870167d37c5fadbffa901cc2fd6b1b01f9605477b101cf735974e83a7bbc87553df23c5cd1b790886d84e0af2f9eea4
Description-en: server-side, HTML-embedded scripting language (Apache 2 module) (default)
This package provides the PHP module for the Apache 2 webserver.
.
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.
.
This package is a dependency package, which depends on latest stable
PHP version (currently 7.4).
Description-md5: fc84ce5667c66c5a2beed25d4f63d4d5
Task: lamp-server