How to Install and Uninstall libapache2-mod-php7.1 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 25,2024

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

Please follow the instructions below to install libapache2-mod-php7.1 on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

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

Please follow the steps below to uninstall libapache2-mod-php7.1 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the libapache2-mod-php7.1 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: libapache2-mod-php7.1
Source: php7.1
Priority: optional
Section: httpd
Installed-Size: 4479
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-56+ubuntu22.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20160303
Depends: libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php7.1-cli, php7.1-common (= 7.1.33-56+ubuntu22.04.1+deb.sury.org+1), php7.1-json, php7.1-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin, libc6 (>= 2.35), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.1/libapache2-mod-php7.1_7.1.33-56+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 1441444
MD5sum: e283bcda32935d322b1725da349c1e02
SHA1: 1ea6fd359e45b2e2b851e9447d7dcc781cfcf7fb
SHA256: edadd77f01d16ad46c6e6e803b1582de98467ad3641355faee7ff819487d5848
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: a9943210c12c437b40ede9d429f3fb29