How to Install and Uninstall php7.0-mysql Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 27,2024

1. Install "php7.0-mysql" package

Please follow the guidance below to install php7.0-mysql on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php7.0-mysql

2. Uninstall "php7.0-mysql" package

In this section, we are going to explain the necessary steps to uninstall php7.0-mysql on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove php7.0-mysql $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.0-mysql package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.0-mysql
Status: install ok installed
Priority: optional
Section: php
Installed-Size: 475
Maintainer: Debian PHP Maintainers
Architecture: amd64
Source: php7.0
Version: 7.0.33-50+ubuntu16.04.1+deb.sury.org+1
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.0-mysqli, php7.0-mysqlnd, php7.0-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-50+ubuntu16.04.1+deb.sury.org+1), libc6 (>= 2.15)
Description-en: MySQL module for PHP
This package provides the MySQL module(s) for PHP.
.
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: dba46097413040653c65df244b4f891f
Homepage: http://www.php.net/

Package: php7.0-mysql
Architecture: amd64
Version: 7.0.33-0ubuntu0.16.04.16
Priority: optional
Section: php
Source: php7.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 474
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.0-mysqli, php7.0-mysqlnd, php7.0-pdo-mysql
Depends: php-common (>= 1:33), ucf, php7.0-common (= 7.0.33-0ubuntu0.16.04.16), libc6 (>= 2.15)
Filename: pool/main/p/php7.0/php7.0-mysql_7.0.33-0ubuntu0.16.04.16_amd64.deb
Size: 124162
MD5sum: 7b220face323fd86fcf70efe45bb26e5
SHA1: 9d83747ebc1639edc07abd5f6272ce4283eb699e
SHA256: dca9505d9da8817cacb29f7cb6f163d773a8b5f8e40fb4599724ea935cb61b90
SHA512: 6a463c43761a7c9eae82d9507dc2dcfbdadd22b6c0894536d2b87eb9248509d6f09930fe39c5a86e417f7138778a86f547b04731e3651dedf0c25a34d2c59111
Homepage: http://www.php.net/
Description-en: MySQL module for PHP
This package provides the MySQL module(s) for PHP.
.
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: dba46097413040653c65df244b4f891f
Task: lamp-server, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master
Supported: 5y

Package: php7.0-mysql
Priority: optional
Section: php
Installed-Size: 462
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Architecture: amd64
Source: php7.0
Version: 7.0.4-7ubuntu2
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.0-mysqli, php7.0-mysqlnd, php7.0-pdo-mysql
Depends: php-common (>= 1:33), ucf, php7.0-common (= 7.0.4-7ubuntu2), libc6 (>= 2.15)
Filename: pool/main/p/php7.0/php7.0-mysql_7.0.4-7ubuntu2_amd64.deb
Size: 123268
MD5sum: ff231a57b0625f11961ad924d89eeebb
SHA1: 51edee5955cb6f4beb867dda6958c6579f61b33d
SHA256: 3f5c6fa667a9b7d3cf071ab64d76ff59d071cb4c9b1a764b8b49a1863c05de73
Description-en: MySQL module for PHP
This package provides the MySQL module(s) for PHP.
.
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: dba46097413040653c65df244b4f891f
Homepage: http://www.php.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: lamp-server, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master