How to Install and Uninstall php5.6 Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: December 25,2024
1. Install "php5.6" package
This is a short guide on how to install php5.6 on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
php5.6
Copied
2. Uninstall "php5.6" package
Here is a brief guide to show you how to uninstall php5.6 on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
php5.6
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php5.6 package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: php5.6
Priority: optional
Section: php
Installed-Size: 285
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 5.6.40-50+ubuntu16.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php5.6 | php5.6-fpm | php5.6-cgi, php5.6-common
Filename: pool/main/p/php5.6/php5.6_5.6.40-50+ubuntu16.04.1+deb.sury.org+1_all.deb
Size: 267316
MD5sum: 3ab48f998e8ccf3d22c4d668a4e07b60
SHA1: a0445fe575029a4d5a16e223d72416d44a16017f
SHA256: f0ace62e0441f9a6c0b82a68bb490d856d321339c504675a91a6dbcf783886a7
Description-en: 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
Priority: optional
Section: php
Installed-Size: 285
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 5.6.40-50+ubuntu16.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php5.6 | php5.6-fpm | php5.6-cgi, php5.6-common
Filename: pool/main/p/php5.6/php5.6_5.6.40-50+ubuntu16.04.1+deb.sury.org+1_all.deb
Size: 267316
MD5sum: 3ab48f998e8ccf3d22c4d668a4e07b60
SHA1: a0445fe575029a4d5a16e223d72416d44a16017f
SHA256: f0ace62e0441f9a6c0b82a68bb490d856d321339c504675a91a6dbcf783886a7
Description-en: 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