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

Last updated: November 21,2024

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

This guide let you learn how to install libapache2-mod-php7.0 on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

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

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

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

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

Package: libapache2-mod-php7.0
Source: php7.0
Priority: optional
Section: httpd
Installed-Size: 4322
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu22.04.1+deb.sury.org+2
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20151012
Depends: libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php7.0-cli, php7.0-common (= 7.0.33-68+ubuntu22.04.1+deb.sury.org+2), php7.0-json, php7.0-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.0/libapache2-mod-php7.0_7.0.33-68+ubuntu22.04.1+deb.sury.org+2_amd64.deb
Size: 1393674
MD5sum: fc1a756fcaed3ac0dd24f1ad99d8fe9c
SHA1: 9f4fa47d84e2ccd6057b70827a7bb7cac33849f9
SHA256: dc5287ff4fa18b39824537eafc7e400ce56a1f830634c3b62d9dfbbe0317ca7b
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: a9943210c12c437b40ede9d429f3fb29