How to Install and Uninstall php5.6 Package on Debian 12 (Bookworm)

Last updated: May 13,2024

1. Install "php5.6" package

This guide let you learn how to install php5.6 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php5.6

2. Uninstall "php5.6" package

This is a short guide on how to uninstall php5.6 on Debian 12 (Bookworm):

$ sudo apt remove php5.6 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php5.6 package on Debian 12 (Bookworm)

Package: php5.6
Version: 5.6.40-68+0~20230902.80+debian12~1.gbpa2012b
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 212
Depends: libapache2-mod-php5.6 | php5.6-fpm | php5.6-cgi, php5.6-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php5.6/php5.6_5.6.40-68+0~20230902.80+debian12~1.gbpa2012b_all.deb
Size: 191052
SHA256: bdae930b94014fb834036d7f1871ffdeb2ccb52c97555a7f9c3774e0cb40e58d
SHA1: cdd1e804d4abbdaefc357cb0f94f288af77994c2
MD5sum: c3aeb6cfb4f86e3dd825fc292d4354b6
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