How to Install and Uninstall libapache2-mod-php Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "libapache2-mod-php" package

Here is a brief guide to show you how to install libapache2-mod-php on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "libapache2-mod-php" package

Please follow the step by step instructions below to uninstall libapache2-mod-php on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libapache2-mod-php package on Ubuntu 21.10 (Impish Indri)

Package: libapache2-mod-php
Source: php-defaults (85+ubuntu21.10.1+deb.sury.org+1)
Priority: optional
Section: php
Installed-Size: 31
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.0+85+ubuntu21.10.1+deb.sury.org+1
Depends: libapache2-mod-php8.0
Filename: pool/main/p/php-defaults/libapache2-mod-php_8.0+85+ubuntu21.10.1+deb.sury.org+1_all.deb
Size: 7148
MD5sum: 47fc3b33fe509f51c47cd07219772b50
SHA1: b84278db9ab6ab1259c2db6b8784aeaff8b3be5a
SHA256: df0ddb0c74c461eedce10c242b9fb21e9f9f4666d63ac7a1f82f581417c9be4a
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 8.0).
Description-md5: fb9b5abd0d9937b9347922e6cbe1283a

Package: libapache2-mod-php
Architecture: all
Version: 2:8.0+82~0build1
Priority: optional
Section: php
Source: php-defaults (82~0build1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17
Depends: libapache2-mod-php8.0
Filename: pool/main/p/php-defaults/libapache2-mod-php_8.0+82~0build1_all.deb
Size: 3036
MD5sum: abb6b8e6a96b84c5c1ce2d45c257e2e1
SHA1: bd648556f0fabb13a1c4f56a5dde6fbf2054a5ce
SHA256: a100b77dcb63dae1fd6d78e44c4d63cf9aaada7466c64d371180c2c5c67e9fb6
SHA512: 7c219e75adbb0666809ff7b8fb5edebf5389123b7315fa04d0bd31fbf3993adaefa9fec341efc5f054db94e638c340aa5874b92305e058454fc7aea91efe0ebc
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 8.0).
Description-md5: fb9b5abd0d9937b9347922e6cbe1283a
Task: lamp-server