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

Last updated: July 01,2024

1. Install "php7.1" package

Here is a brief guide to show you how to install php7.1 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.1

2. Uninstall "php7.1" package

In this section, we are going to explain the necessary steps to uninstall php7.1 on Debian 11 (Bullseye):

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

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

Package: php7.1
Version: 7.1.33-47+0~20220627.68+debian11~1.gbp1fc917
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 91
Depends: libapache2-mod-php7.1 | php7.1-fpm | php7.1-cgi, php7.1-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.1/php7.1_7.1.33-47+0~20220627.68+debian11~1.gbp1fc917_all.deb
Size: 67524
SHA256: 5349de807703d3202419552ad1015e2d8fe8ea9a5479d8a91f416e43cce08f41
SHA1: c9459f190c420da8aeec48f328a90ca98456e72d
MD5sum: 174beff4bc2f5078feb69b4e8c623888
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