How to Install and Uninstall php7.2 Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: December 28,2024
1. Install "php7.2" package
Please follow the instructions below to install php7.2 on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
php7.2
Copied
2. Uninstall "php7.2" package
This guide let you learn how to uninstall php7.2 on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
php7.2
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.2 package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: php7.2
Priority: optional
Section: php
Installed-Size: 89
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 7.2.34-21+ubuntu16.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.2 | php7.2-fpm | php7.2-cgi, php7.2-common
Filename: pool/main/p/php7.2/php7.2_7.2.34-21+ubuntu16.04.1+deb.sury.org+1_all.deb
Size: 55506
MD5sum: 0c57928e29696ee09546e80c755267c8
SHA1: 8ff827b6c0870261a28aa680ffe1997dd0cf17bf
SHA256: b5b97963f4fcf96a9874533d107d7eaea70a7541457be61231a850e547008500
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: 89
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 7.2.34-21+ubuntu16.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.2 | php7.2-fpm | php7.2-cgi, php7.2-common
Filename: pool/main/p/php7.2/php7.2_7.2.34-21+ubuntu16.04.1+deb.sury.org+1_all.deb
Size: 55506
MD5sum: 0c57928e29696ee09546e80c755267c8
SHA1: 8ff827b6c0870261a28aa680ffe1997dd0cf17bf
SHA256: b5b97963f4fcf96a9874533d107d7eaea70a7541457be61231a850e547008500
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