How to Install and Uninstall libapache2-mod-php8.2 Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 20,2024

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

This is a short guide on how to install libapache2-mod-php8.2 on Ubuntu 23.10 (Mantic Minotaur)

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

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

Please follow the instructions below to uninstall libapache2-mod-php8.2 on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the libapache2-mod-php8.2 package on Ubuntu 23.10 (Mantic Minotaur)

Package: libapache2-mod-php8.2
Architecture: amd64
Version: 8.2.10-2ubuntu1
Priority: optional
Section: httpd
Source: php8.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5418
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.10-2ubuntu1), php8.2-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-1 (>= 0~20171227), libc6 (>= 2.38), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.18), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Filename: pool/main/p/php8.2/libapache2-mod-php8.2_8.2.10-2ubuntu1_amd64.deb
Size: 1802592
MD5sum: e63571dcce4a98ed5d41f1c32a65e3ee
SHA1: 070f8af24b5b018b04e6a171db5facc594e4b012
SHA256: 6ebd8a6b3c994749b7d1963af4dd4a6e5f8e07efbb0a2efc91721548f98f6c64
SHA512: 0888f88236fcfaf5f3ff26d23035ca2d574be8197c7ae3637b28a11673fcbb09e43003f66ef7e1524b5d1629bb60bb4956a43398caa1882caae286c6db035a90
Homepage: http://www.php.net/
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 6a338a642132f78b17e5228372062a40
Task: lamp-server