How to Install and Uninstall php7.2-mysql Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 23,2024

1. Install "php7.2-mysql" package

This is a short guide on how to install php7.2-mysql on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.2-mysql" package

This tutorial shows how to uninstall php7.2-mysql on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php7.2-mysql package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php7.2-mysql
Source: php7.2
Priority: optional
Section: php
Installed-Size: 439
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-33+ubuntu18.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-33+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php7.2/php7.2-mysql_7.2.34-33+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 117136
MD5sum: 416d90747dc40f77ad244788694d678e
SHA1: e8d6318fe52bd8c574428501191757cd1b5bfacc
SHA256: 5f2118db5039d34b7d154cf0caea916bbebdbb4df28f6559df7bcbe395b6c337
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f

Package: php7.2-mysql
Architecture: amd64
Version: 7.2.24-0ubuntu0.18.04.13
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 438
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.2-mysqli, php7.2-mysqlnd, php7.2-pdo-mysql
Depends: php-common (>= 1:35), ucf, php7.2-common (= 7.2.24-0ubuntu0.18.04.13), libc6 (>= 2.15)
Filename: pool/main/p/php7.2/php7.2-mysql_7.2.24-0ubuntu0.18.04.13_amd64.deb
Size: 117208
MD5sum: bfc604fd84815bdc769397778c66b0c0
SHA1: 0978e3db9d8ca06a9be7eb067b55da8b755962f1
SHA256: b1a7c91c487791450121a8f82e9160dd15b36efe03b5b8669c366465f2c29c24
SHA512: 16f31fb77355f635f1f9f4522a2e309182e0ec951b32c641ca8d47eb23d96f1c1ec399ad093891c65a8ab3a82a78391d90b2afab4c0ef7815e6f142c90f3399b
Homepage: http://www.php.net/
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Task: lamp-server
Supported: 5y

Package: php7.2-mysql
Architecture: amd64
Version: 7.2.3-1ubuntu1
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 434
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.2-mysqli, php7.2-mysqlnd, php7.2-pdo-mysql
Depends: php-common (>= 1:35), ucf, php7.2-common (= 7.2.3-1ubuntu1), libc6 (>= 2.15)
Filename: pool/main/p/php7.2/php7.2-mysql_7.2.3-1ubuntu1_amd64.deb
Size: 116836
MD5sum: 382624c733c09cf4e8e93890a30c8c75
SHA1: 19136dd80e543facbec7f36840a62f428c670bf9
SHA256: b6717b36b64d8c73bc773631fd753ff8d946c31f260257befc41b2f8b24d91ed
Homepage: http://www.php.net/
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f
Task: lamp-server
Supported: 5y