How to Install and Uninstall libapache2-mod-php7.2 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: September 20,2024

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

Learn how to install libapache2-mod-php7.2 on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

This guide let you learn how to uninstall libapache2-mod-php7.2 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libapache2-mod-php7.2 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libapache2-mod-php7.2
Source: php7.2
Priority: optional
Section: httpd
Installed-Size: 4689
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-33+ubuntu18.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20170718
Depends: libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.2-cli, php7.2-common (= 7.2.34-33+ubuntu18.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.27), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.2/libapache2-mod-php7.2_7.2.34-33+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1353496
MD5sum: 1d3a00097afd29e420745552c256cb23
SHA1: f805c1fe6ca30440d510b19f265e55c805ea63b2
SHA256: 865303fa4bc62e442195ac14876a1a9f358aadc648d841ee7cd167f1352a720a
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 36d880d2701a181e89a6978caa489dfc

Package: libapache2-mod-php7.2
Architecture: amd64
Version: 7.2.24-0ubuntu0.18.04.13
Priority: optional
Section: httpd
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4685
Provides: libapache2-mod-php, phpapi-20170718
Depends: libmagic1, libpcre3 (>= 2:8.35), mime-support, php7.2-cli, php7.2-common (= 7.2.24-0ubuntu0.18.04.13), php7.2-json, php7.2-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-0 (>= 0~20160406~), libc6 (>= 2.27), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Filename: pool/main/p/php7.2/libapache2-mod-php7.2_7.2.24-0ubuntu0.18.04.13_amd64.deb
Size: 1352312
MD5sum: 3847da85eed60d016af1b2fe658a0920
SHA1: 5685c03b026d5f2e48b0cd44d7620b1f5a01e038
SHA256: d8a7c3db0bdc7caa5845b03dabe3034ee7355046851ce26ed068347523a898ee
SHA512: f6ae92f6e8fc7404050323600c8e9efeb02b26151027692b40526cb99bd206562091b78664cd67655a4bbfd7e960855d277229290f1c6779644283cb9f7fcd29
Homepage: http://www.php.net/
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 36d880d2701a181e89a6978caa489dfc
Task: lamp-server
Supported: 5y

Package: libapache2-mod-php7.2
Architecture: amd64
Version: 7.2.3-1ubuntu1
Priority: optional
Section: httpd
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4677
Provides: libapache2-mod-php, phpapi-20170718
Depends: libmagic1, libpcre3 (>= 2:8.35), mime-support, php7.2-cli, php7.2-common (= 7.2.3-1ubuntu1), php7.2-json, php7.2-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-0 (>= 0~20160406~), libc6 (>= 2.27), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Filename: pool/main/p/php7.2/libapache2-mod-php7.2_7.2.3-1ubuntu1_amd64.deb
Size: 1347660
MD5sum: 7adbe63d9cb42bec46f8f4c2931bda84
SHA1: ec17e98a8f918bca19c4ed6dff6267058b100ec5
SHA256: 6dd7288d2b12b0558001a862611bef78bc76a7edc472d137aae7202c7368ae4e
Homepage: http://www.php.net/
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 36d880d2701a181e89a6978caa489dfc
Task: lamp-server
Supported: 5y