How to Install and Uninstall php7.2-mysql Package on Debian 11 (Bullseye)

Last updated: December 28,2024

1. Install "php7.2-mysql" package

This guide covers the steps necessary to install php7.2-mysql on Debian 11 (Bullseye)

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

2. Uninstall "php7.2-mysql" package

This is a short guide on how to uninstall php7.2-mysql on Debian 11 (Bullseye):

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

3. Information about the php7.2-mysql package on Debian 11 (Bullseye)

Package: php7.2-mysql
Source: php7.2
Version: 7.2.34-32+0~20220627.74+debian11~1.gbpc7fa3c
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 459
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-32+0~20220627.74+debian11~1.gbpc7fa3c), libc6 (>= 2.15)
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.2-mysqli, php7.2-mysqlnd, php7.2-pdo-mysql
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.2/php7.2-mysql_7.2.34-32+0~20220627.74+debian11~1.gbpc7fa3c_amd64.deb
Size: 119912
SHA256: 26f319756159c0a3377aa663aa8f324ac123bd95c2e556797ee881e7564e4edb
SHA1: 5951ed88099a3a28ac99f695a49b8d818b6f9410
MD5sum: 3c2d809ffe731967559f66f10f8a6ce5
Description: 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