How to Install and Uninstall php7.0-mysql Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 14,2024

1. Install "php7.0-mysql" package

Please follow the step by step instructions below to install php7.0-mysql on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.0-mysql" package

This tutorial shows how to uninstall php7.0-mysql on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.0-mysql package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.0-mysql
Source: php7.0
Priority: optional
Section: php
Installed-Size: 499
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu20.04.1+deb.sury.org+2
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-68+ubuntu20.04.1+deb.sury.org+2), libc6 (>= 2.15)
Filename: pool/main/p/php7.0/php7.0-mysql_7.0.33-68+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 127292
MD5sum: f137827b15f68d5a8b3f226daa9847d5
SHA1: a07dc9ff77e4483a40b9e9bd91fba1c8f8fef518
SHA256: 479d27f3881618f8ed341923e426275e84f80ccc0989742af4a9c32949ac14d4
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f