How to Install and Uninstall libapache2-mod-php Package on Linux Mint 21.3 (Virginia)
Last updated: December 23,2024
1. Install "libapache2-mod-php" package
This tutorial shows how to install libapache2-mod-php on Linux Mint 21.3 (Virginia)
$
sudo apt update
Copied
$
sudo apt install
libapache2-mod-php
Copied
2. Uninstall "libapache2-mod-php" package
Please follow the step by step instructions below to uninstall libapache2-mod-php on Linux Mint 21.3 (Virginia):
$
sudo apt remove
libapache2-mod-php
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libapache2-mod-php package on Linux Mint 21.3 (Virginia)
Package: libapache2-mod-php
Source: php-defaults (94+ubuntu22.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 36
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.3+94+ubuntu22.04.1+deb.sury.org+2
Depends: libapache2-mod-php8.3
Filename: pool/main/p/php-defaults/libapache2-mod-php_8.3+94+ubuntu22.04.1+deb.sury.org+2_all.deb
Size: 7432
MD5sum: 315c0220899cd5c10a2619d12fa35d23
SHA1: f577debca905cfd2e194e7978dabce255916fd32
SHA256: f61ee01a2de956fc2bd3ce56e36513dfa028240eca5d43cb762d88fa0a897100
Description: server-side, HTML-embedded scripting language (Apache 2 module) (default)
Description-md5: f48f9aa6dd7be6ce0654f87c67051efd
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
Source: php-defaults (94+ubuntu22.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 36
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.3+94+ubuntu22.04.1+deb.sury.org+2
Depends: libapache2-mod-php8.3
Filename: pool/main/p/php-defaults/libapache2-mod-php_8.3+94+ubuntu22.04.1+deb.sury.org+2_all.deb
Size: 7432
MD5sum: 315c0220899cd5c10a2619d12fa35d23
SHA1: f577debca905cfd2e194e7978dabce255916fd32
SHA256: f61ee01a2de956fc2bd3ce56e36513dfa028240eca5d43cb762d88fa0a897100
Description: server-side, HTML-embedded scripting language (Apache 2 module) (default)
Description-md5: f48f9aa6dd7be6ce0654f87c67051efd
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