How to Install and Uninstall libapache2-mod-php7.2 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 07,2024
Notice
You can also install and uninstall the libapache2-mod-php7.2 on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "libapache2-mod-php7.2" package
In this section, we are going to explain the necessary steps to install libapache2-mod-php7.2 on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
libapache2-mod-php7.2
Copied
2. Uninstall "libapache2-mod-php7.2" package
Please follow the guidelines below to uninstall libapache2-mod-php7.2 on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
libapache2-mod-php7.2
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libapache2-mod-php7.2 package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: libapache2-mod-php7.2
Source: php7.2
Priority: optional
Section: httpd
Installed-Size: 4844
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20170718
Depends: libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php7.2-cli, php7.2-common (= 7.2.34-43+ubuntu22.04.1+deb.sury.org+1), php7.2-json, php7.2-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libsodium23 (>= 1.0.14), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.2/libapache2-mod-php7.2_7.2.34-43+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 1524400
MD5sum: a5ff33f71a486cfcf8bcc6ec5b9c18d9
SHA1: d485b13b1653ba6ea7a575a5b9b30539c8ef52d7
SHA256: d526c74a12b895aa97517142bc7324480fff3a30422fc3c605e03b239cc0c24f
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 36d880d2701a181e89a6978caa489dfc
Source: php7.2
Priority: optional
Section: httpd
Installed-Size: 4844
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20170718
Depends: libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php7.2-cli, php7.2-common (= 7.2.34-43+ubuntu22.04.1+deb.sury.org+1), php7.2-json, php7.2-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libsodium23 (>= 1.0.14), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.2/libapache2-mod-php7.2_7.2.34-43+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 1524400
MD5sum: a5ff33f71a486cfcf8bcc6ec5b9c18d9
SHA1: d485b13b1653ba6ea7a575a5b9b30539c8ef52d7
SHA256: d526c74a12b895aa97517142bc7324480fff3a30422fc3c605e03b239cc0c24f
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 36d880d2701a181e89a6978caa489dfc