How to Install and Uninstall libapache2-mod-php Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 21,2024

1. Install "libapache2-mod-php" package

This is a short guide on how to install libapache2-mod-php on Ubuntu 24.04 LTS (Noble Numbat)

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

2. Uninstall "libapache2-mod-php" package

This guide let you learn how to uninstall libapache2-mod-php on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the libapache2-mod-php package on Ubuntu 24.04 LTS (Noble Numbat)

Package: libapache2-mod-php
Architecture: all
Version: 2:8.3+93ubuntu2
Priority: optional
Section: php
Source: php-defaults (93ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15
Depends: libapache2-mod-php8.3
Filename: pool/main/p/php-defaults/libapache2-mod-php_8.3+93ubuntu2_all.deb
Size: 4224
MD5sum: 3abc7bed4024acf6e65a0aaf9ffdf356
SHA1: 6bbfd4f4042fbc311474612e29f926e0f122f200
SHA256: 77f965c1f3999dbca7582233b973e20c705af30c337fba23e80874db0f0d2eff
SHA512: 34a96f4b9b77d6b4aab8a058754e294359262b365f89499f4331daeb052bb41abae7ee76f66e72ef6c20d6fe9c568c57b4fac7a85d78054d50592d0d23ffa136
Description: server-side, HTML-embedded scripting language (Apache 2 module) (default)
Description-md5: f48f9aa6dd7be6ce0654f87c67051efd
Task: lamp-server