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

Last updated: November 24,2024

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

Please follow the guidelines below to install libapache2-mod-php8.2 on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: libapache2-mod-php8.2
Source: php8.2
Priority: optional
Section: httpd
Installed-Size: 5435
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.2.15-1+ubuntu20.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, php-json, php8.2-json, phpapi-20220829
Depends: libmagic1, media-types | mime-support, php8.2-cli, php8.2-common (= 8.2.15-1+ubuntu20.04.1+deb.sury.org+1), php8.2-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.18), libssl1.1 (>= 1.1.1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php8.2/libapache2-mod-php8.2_8.2.15-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 1648876
MD5sum: 5956ae9840f96aea0a9aaba271e51a2d
SHA1: 6ca3419a5543f9f8d884772810d256b3d5edacb9
SHA256: 08a3e58d8eea5f25359e36ba613a22cf9781fcd8677761c6b828e00126c3f597
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 6a338a642132f78b17e5228372062a40