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

Last updated: May 17,2024

1. Install "libapache2-mod-php" package

This tutorial shows how to install libapache2-mod-php on Ubuntu 23.10 (Mantic Minotaur)

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

2. Uninstall "libapache2-mod-php" package

Please follow the steps below to uninstall libapache2-mod-php on Ubuntu 23.10 (Mantic Minotaur):

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

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

Package: libapache2-mod-php
Architecture: all
Version: 2:8.2+93ubuntu1
Priority: optional
Section: php
Source: php-defaults (93ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15
Depends: libapache2-mod-php8.2
Filename: pool/main/p/php-defaults/libapache2-mod-php_8.2+93ubuntu1_all.deb
Size: 4164
MD5sum: 48a399e18dfdc96c1d4035d65d54f624
SHA1: 17abea64b4cca2e6a9b4eca37c99b3e556ced608
SHA256: d3ca05d103eff2b13a80d8d55263eb35f469136afa74694cb4e7933a035e74fe
SHA512: a0d5b344ea61bd3a63c3ad9240834913256198ca7a8ad5e80f00d993d0d60c32f6a124cc96ba5df2d7af3ca09504054e9695e13d89363cfbb2ab02f7a67555bb
Description: server-side, HTML-embedded scripting language (Apache 2 module) (default)
Description-md5: 22722572356c447e3639434659cd1e83
Task: lamp-server