How to Install and Uninstall php7.0 Package on Debian 11 (Bullseye)

Last updated: June 26,2024

1. Install "php7.0" package

Please follow the instructions below to install php7.0 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.0

2. Uninstall "php7.0" package

Please follow the guidelines below to uninstall php7.0 on Debian 11 (Bullseye):

$ sudo apt remove php7.0 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.0 package on Debian 11 (Bullseye)

Package: php7.0
Version: 7.0.33-60+0~20220627.68+debian11~1.gbp3d361a
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 85
Depends: libapache2-mod-php7.0 | php7.0-fpm | php7.0-cgi, php7.0-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.0/php7.0_7.0.33-60+0~20220627.68+debian11~1.gbp3d361a_all.deb
Size: 61404
SHA256: c6c7acff089420fb64f77acdd3de8ec45cf76da2d878d2493e1f0243c0fee6b4
SHA1: f354689573aba077b1b5999eaf4092334d83f706
MD5sum: 88f0e0f534af5d0c8b757de47f2abdd4
Description: server-side, HTML-embedded scripting language (metapackage)
This package is a metapackage that, when installed, guarantees that you
have at least one of the four server-side versions of the PHP interpreter
installed. Removing this package won't remove PHP from your system, however
it may remove other packages that depend on this one.
.
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: 86488d7a405bdcbac9ece7c307f30abb