How to Install and Uninstall libapache2-mod-php5.6 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "libapache2-mod-php5.6" package

Please follow the step by step instructions below to install libapache2-mod-php5.6 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libapache2-mod-php5.6

2. Uninstall "libapache2-mod-php5.6" package

Here is a brief guide to show you how to uninstall libapache2-mod-php5.6 on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove libapache2-mod-php5.6 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libapache2-mod-php5.6 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libapache2-mod-php5.6
Source: php5.6
Priority: optional
Section: httpd
Installed-Size: 4393
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-68+ubuntu20.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20131226
Depends: libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php5.6-cli, php5.6-common (= 5.6.40-68+ubuntu20.04.1+deb.sury.org+1), php5.6-json, php5.6-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin, libc6 (>= 2.29), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php5.6/libapache2-mod-php5.6_5.6.40-68+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 1248976
MD5sum: 2856fa816d8e15db8db867a28cbbf8ca
SHA1: 44cf268e3f3d5cb19a4a3c27143b70674a7d5af8
SHA256: 24bad456d842ecf7716739ae24405841c0becda860bde46ef12c904e74a1ba44
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 98f0ba0078ba49c540575971f6fbdbc6