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

Last updated: May 02,2024

1. Install "libapache2-mod-php7.4" package

Please follow the steps below to install libapache2-mod-php7.4 on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install libapache2-mod-php7.4

2. Uninstall "libapache2-mod-php7.4" package

This is a short guide on how to uninstall libapache2-mod-php7.4 on Ubuntu 22.10 (Kinetic Kudu):

$ sudo apt remove libapache2-mod-php7.4 $ sudo apt autoclean && sudo apt autoremove

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

Package: libapache2-mod-php7.4
Architecture: amd64
Version: 8.1.7-1ubuntu3
Priority: optional
Section: universe/httpd
Source: php8.1
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6
Depends: libapache2-mod-php, php8.1-common (= 8.1.7-1ubuntu3)
Breaks: libapache2-mod-php7.4 (<< 7.4.3-5~)
Replaces: libapache2-mod-php7.4 (<< 7.4.3-5~)
Filename: pool/universe/p/php8.1/libapache2-mod-php7.4_8.1.7-1ubuntu3_amd64.deb
Size: 836
MD5sum: a2431e49e802f6b9df241fccdf5905cd
SHA1: 867e673964a67832f0edb25e18e9a8df1579ebba
SHA256: 209c95a27a7023d75366dc7a0388e209554f93244f91774fb8aaef1b8926c520
SHA512: 282b50c877d463d01f3272a1080e510455c39d88d01f1570bbbd66c802b5e8e9432bac1e6f5f7dbd1b5856f1edd7e6398b16327de0f0bd0124a73f00db75b289
Homepage: http://www.php.net/
Description: Transitional package
Description-md5: 61dfc4e6fd6564f4cfa555801512732a