How to Install and Uninstall php-mysql Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "php-mysql" package

Please follow the guidance below to install php-mysql on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-mysql

2. Uninstall "php-mysql" package

Learn how to uninstall php-mysql on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-mysql $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-mysql package on Ubuntu 21.10 (Impish Indri)

Package: php-mysql
Source: php-defaults (85+ubuntu21.10.1+deb.sury.org+1)
Priority: optional
Section: php
Installed-Size: 13
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.0+85+ubuntu21.10.1+deb.sury.org+1
Depends: php-common, php8.0-mysql
Filename: pool/main/p/php-defaults/php-mysql_8.0+85+ubuntu21.10.1+deb.sury.org+1_all.deb
Size: 6958
MD5sum: 694eabae70fd57db177e54d53c6625ea
SHA1: f6c260fb0260f20f0a7a1120ad04a9eb025118a8
SHA256: d1a8d4cceb88de31847d0fc3fd0f54ba8a4de47980312a11ce79d3e37cb08a71
Description-en: MySQL module for PHP [default]
This package provides a MySQL module 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.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 8.0).
Description-md5: 74aaaed263eb950b44f0b95a287c9153

Package: php-mysql
Architecture: all
Version: 2:8.0+82~0build1
Priority: optional
Section: php
Source: php-defaults (82~0build1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php-common, php8.0-mysql
Filename: pool/main/p/php-defaults/php-mysql_8.0+82~0build1_all.deb
Size: 2016
MD5sum: adba151cf4fd94ec2020f7fb79afbba3
SHA1: 7e517fa65f311cf30e94fa580f504e5638237559
SHA256: 99b1564ebff2a73caafa95d38d08b7dbe94c28de522955071a1df88786990216
SHA512: d920b20e7d38cce033239fd26680e98e23a3a05e7d39e74c3419b3556e095bb4523988175d153e17f0fbcc26f5b83c6d40af6f8e1c29f6bf40c1c5cbd7f46eb2
Description-en: MySQL module for PHP [default]
This package provides a MySQL module 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.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 8.0).
Description-md5: 74aaaed263eb950b44f0b95a287c9153
Task: lamp-server