How to Install and Uninstall libapache2-mod-php Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: May 06,2024

1. Install "libapache2-mod-php" package

This is a short guide on how to install libapache2-mod-php on Ubuntu 22.10 (Kinetic Kudu)

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

2. Uninstall "libapache2-mod-php" package

Learn how to uninstall libapache2-mod-php on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the libapache2-mod-php package on Ubuntu 22.10 (Kinetic Kudu)

Package: libapache2-mod-php
Architecture: all
Version: 2:8.1+92ubuntu1
Priority: optional
Section: php
Source: php-defaults (92ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18
Depends: libapache2-mod-php8.1
Filename: pool/main/p/php-defaults/libapache2-mod-php_8.1+92ubuntu1_all.deb
Size: 2898
MD5sum: b24cfa865e13613e38b2c32173ea05d5
SHA1: a31fbe005aca5927812f20075609ce42e4d49810
SHA256: fbd3b84f8b331432990d3bf0cb896a3d81c4112b224b607f1f90218ba4cffd7a
SHA512: 535122c7d3dcddc95ce49f9ef25e59d73e6a787e2602c85173095978ab4b4c69b42e8f18a62215f3d74e5034aeccc861cb42c6b14fe7dbacaefa3e8b364f5fd1
Description: server-side, HTML-embedded scripting language (Apache 2 module) (default)
Description-md5: 640f616b843abc4503f1e1c4680e90e7
Task: lamp-server