How to Install and Uninstall php7.2-mysql Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: December 29,2024
1. Install "php7.2-mysql" package
In this section, we are going to explain the necessary steps to install php7.2-mysql on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
php7.2-mysql
Copied
2. Uninstall "php7.2-mysql" package
This guide let you learn how to uninstall php7.2-mysql on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
php7.2-mysql
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.2-mysql package on Ubuntu 20.04 LTS (Focal Fossa)
Package: php7.2-mysql
Source: php7.2
Priority: optional
Section: php
Installed-Size: 463
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu20.04.1+deb.sury.org+1
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.2-mysqli, php7.2-mysqlnd, php7.2-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php7.2/php7.2-mysql_7.2.34-43+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 120312
MD5sum: 151db399da11a8bcd6e144b07fd7d458
SHA1: e1d108d992c39c0acd798ee45a492ad64e46b0aa
SHA256: d8deee936cdd4a0b4e761c6ee2758a074a09f3c28a25a65c799e574fa4c74ad6
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Source: php7.2
Priority: optional
Section: php
Installed-Size: 463
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu20.04.1+deb.sury.org+1
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.2-mysqli, php7.2-mysqlnd, php7.2-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php7.2/php7.2-mysql_7.2.34-43+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 120312
MD5sum: 151db399da11a8bcd6e144b07fd7d458
SHA1: e1d108d992c39c0acd798ee45a492ad64e46b0aa
SHA256: d8deee936cdd4a0b4e761c6ee2758a074a09f3c28a25a65c799e574fa4c74ad6
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f