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

Last updated: September 19,2024

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

Please follow the step by step instructions below to install libapache2-mod-php7.0 on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

This tutorial shows how to uninstall libapache2-mod-php7.0 on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: libapache2-mod-php7.0
Source: php7.0
Priority: optional
Section: httpd
Installed-Size: 4203
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-61+ubuntu18.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20151012
Depends: libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.0-cli, php7.0-common (= 7.0.33-61+ubuntu18.04.1+deb.sury.org+1), php7.0-json, php7.0-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin, libc6 (>= 2.27), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.0/libapache2-mod-php7.0_7.0.33-61+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1243424
MD5sum: 1034c1b4b98a5706f359ad81d62a57f3
SHA1: 0e66024583f5e2c4e283dbeb39310503db623777
SHA256: 6d678547975d7c24823e06c475bb82566ba213c01090a675cf570e600094da0c
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: a9943210c12c437b40ede9d429f3fb29