How to Install and Uninstall php7.0 Package on Debian 12 (Bookworm)

Last updated: May 09,2024

1. Install "php7.0" package

Please follow the guidance below to install php7.0 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php7.0

2. Uninstall "php7.0" package

Please follow the guidance below to uninstall php7.0 on Debian 12 (Bookworm):

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

3. Information about the php7.0 package on Debian 12 (Bookworm)

Package: php7.0
Version: 7.0.33-68+0~20230905.83+debian12~1.gbp571a08
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 76
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-68+0~20230905.83+debian12~1.gbp571a08_all.deb
Size: 51712
SHA256: da1992a70f76d2165b133928366fccae43017095a69f581bd19580736ae4f802
SHA1: e16d90b3da9be78110eda83dc4e7257a97669b15
MD5sum: 635fea4c4bb5984a7c8e33ba47791ead
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