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

Last updated: December 23,2024

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

This tutorial shows how to install libapache2-mod-php7.3 on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

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

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

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

Package: libapache2-mod-php7.3
Source: php7.3
Priority: optional
Section: httpd
Installed-Size: 4478
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.3.33-5+ubuntu18.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20180731
Depends: libmagic1, mime-support, php7.3-cli, php7.3-common (= 7.3.33-5+ubuntu18.04.1+deb.sury.org+1), php7.3-json, php7.3-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.3/libapache2-mod-php7.3_7.3.33-5+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1326532
MD5sum: 086ae47bc1e89ebe88d253ce1cb4741d
SHA1: 0ab93478ba709f5132ad24b86273c7fbd545d66b
SHA256: 1d4d006d4ba878165dd6b4428f4e4f26dc8f942fe8bc94bffb22602f8ed15636
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 36d880d2701a181e89a6978caa489dfc