How to Install and Uninstall php8.0 Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: March 04,2025
1. Install "php8.0" package
This guide covers the steps necessary to install php8.0 on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
php8.0
Copied
2. Uninstall "php8.0" package
Please follow the guidelines below to uninstall php8.0 on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
php8.0
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php8.0 package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: php8.0
Priority: optional
Section: php
Installed-Size: 59
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 8.0.5-2+ubuntu16.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.0 | php8.0-fpm | php8.0-cgi, php8.0-common
Filename: pool/main/p/php8.0/php8.0_8.0.5-2+ubuntu16.04.1+deb.sury.org+1_all.deb
Size: 25500
MD5sum: f18545a201651705d009d314607a21e4
SHA1: 1dba480ec3b4958b9c022bddcd70a61b6512bf37
SHA256: 432c2776617dfe3b4d695d3713337fff4097ca5d4fb2520f869d1df86acd2090
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
Package: php8.0
Priority: optional
Section: php
Installed-Size: 59
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 8.0.5-1+ubuntu16.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.0 | php8.0-fpm | php8.0-cgi, php8.0-common
Filename: pool/main/p/php8.0/php8.0_8.0.5-1+ubuntu16.04.1+deb.sury.org+1_all.deb
Size: 25420
MD5sum: 2662a50112b293db6359b9afc8dead88
SHA1: 231ec5d520cf9c005505fa3eb091517afce2228c
SHA256: 0c64a9473ae9039b43bcb291fba3c3b8b360c4579db0efad84d315bf5033751d
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: 59
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 8.0.5-2+ubuntu16.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.0 | php8.0-fpm | php8.0-cgi, php8.0-common
Filename: pool/main/p/php8.0/php8.0_8.0.5-2+ubuntu16.04.1+deb.sury.org+1_all.deb
Size: 25500
MD5sum: f18545a201651705d009d314607a21e4
SHA1: 1dba480ec3b4958b9c022bddcd70a61b6512bf37
SHA256: 432c2776617dfe3b4d695d3713337fff4097ca5d4fb2520f869d1df86acd2090
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
Package: php8.0
Priority: optional
Section: php
Installed-Size: 59
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 8.0.5-1+ubuntu16.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.0 | php8.0-fpm | php8.0-cgi, php8.0-common
Filename: pool/main/p/php8.0/php8.0_8.0.5-1+ubuntu16.04.1+deb.sury.org+1_all.deb
Size: 25420
MD5sum: 2662a50112b293db6359b9afc8dead88
SHA1: 231ec5d520cf9c005505fa3eb091517afce2228c
SHA256: 0c64a9473ae9039b43bcb291fba3c3b8b360c4579db0efad84d315bf5033751d
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