How to Install and Uninstall libapache2-mod-php8.0 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: September 20,2024

1. Install "libapache2-mod-php8.0" package

This guide covers the steps necessary to install libapache2-mod-php8.0 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libapache2-mod-php8.0

2. Uninstall "libapache2-mod-php8.0" package

Please follow the guidelines below to uninstall libapache2-mod-php8.0 on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove libapache2-mod-php8.0 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libapache2-mod-php8.0 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libapache2-mod-php8.0
Source: php8.0
Priority: optional
Section: httpd
Installed-Size: 4758
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:8.0.30-2+ubuntu20.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, php-json, php8.0-json, phpapi-20200930
Depends: libmagic1, media-types | mime-support, php8.0-cli, php8.0-common (= 1:8.0.30-2+ubuntu20.04.1+deb.sury.org+1), php8.0-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin, 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)
Filename: pool/main/p/php8.0/libapache2-mod-php8.0_8.0.30-2+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 1418324
MD5sum: e17ee18b35aad8eda9ecdefcc3d89d86
SHA1: 38475487aef9ca2c2724b4ee2ad2b69d47566a0c
SHA256: dc3cfb0834f2af042749031476278ae5b702dd8a6761f7c600d9c01df167cd6e
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 57ae373b2a8e4719810a4c745ba4a8df