How to Install and Uninstall libapache2-mod-php7.0 Package on Debian 10 (Buster)

Last updated: May 11,2024

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

Please follow the guidance below to install libapache2-mod-php7.0 on Debian 10 (Buster)

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

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

Learn how to uninstall libapache2-mod-php7.0 on Debian 10 (Buster):

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

3. Information about the libapache2-mod-php7.0 package on Debian 10 (Buster)

Package: libapache2-mod-php7.0
Source: php7.0
Version: 7.0.33-60+0~20220627.68+debian10~1.gbp3d361a
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4371
Depends: libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.0-cli, php7.0-common (= 7.0.33-60+0~20220627.68+debian10~1.gbp3d361a), php7.0-json, php7.0-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libc6 (>= 2.27), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, phpapi-20151012
Homepage: http://www.php.net/
Priority: optional
Section: httpd
Filename: pool/main/p/php7.0/libapache2-mod-php7.0_7.0.33-60+0~20220627.68+debian10~1.gbp3d361a_amd64.deb
Size: 1275240
SHA256: 2ba21e3a15e450e8848e441a161c22d646cf5b16060cad2f8506bb319bb968d0
SHA1: 4f6644c09b6edf2e5a0d7e5bf207b2357bad9943
MD5sum: 6b85500544ef834d35f37ed7678b4491
Description: server-side, HTML-embedded scripting language (Apache 2 module)
This package provides the PHP module for the Apache 2 webserver (as
found in the apache2-mpm-prefork package). Please note that this package
ONLY works with Apache's prefork MPM, as it is not compiled thread-safe.
.
The following extensions are built in: Core date filter hash libxml openssl
pcre Reflection session SPL standard zlib.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: a9943210c12c437b40ede9d429f3fb29