How to Install and Uninstall php7.0-mysql Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: December 26,2024
1. Install "php7.0-mysql" package
This guide covers the steps necessary to install php7.0-mysql on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
php7.0-mysql
Copied
2. Uninstall "php7.0-mysql" package
Please follow the guidance below to uninstall php7.0-mysql on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
php7.0-mysql
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.0-mysql package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: php7.0-mysql
Source: php7.0
Priority: optional
Section: php
Installed-Size: 467
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-61+ubuntu18.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-61+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php7.0/php7.0-mysql_7.0.33-61+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 125020
MD5sum: 1615c499505a249f793751ae7bb08484
SHA1: 41423593d3392b7385bdf825cd95683aacf726f6
SHA256: 57e4fff62fc19d86088e05a81a67d2ebe406ebfbc261ed27668e950af569e137
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Source: php7.0
Priority: optional
Section: php
Installed-Size: 467
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-61+ubuntu18.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-61+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php7.0/php7.0-mysql_7.0.33-61+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 125020
MD5sum: 1615c499505a249f793751ae7bb08484
SHA1: 41423593d3392b7385bdf825cd95683aacf726f6
SHA256: 57e4fff62fc19d86088e05a81a67d2ebe406ebfbc261ed27668e950af569e137
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f