How to Install and Uninstall php-mysql Package on Debian 11 (Bullseye)
Last updated: November 24,2024
1. Install "php-mysql" package
This guide covers the steps necessary to install php-mysql on Debian 11 (Bullseye)
$
sudo apt update
Copied
$
sudo apt install
php-mysql
Copied
2. Uninstall "php-mysql" package
This tutorial shows how to uninstall php-mysql on Debian 11 (Bullseye):
$
sudo apt remove
php-mysql
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-mysql package on Debian 11 (Bullseye)
Package: php-mysql
Source: php-defaults (92+0~20220117.43+debian11~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 14
Depends: php-common, php8.1-mysql
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-mysql_8.1+92+0~20220117.43+debian11~1.gbpe0d14e_all.deb
Size: 7424
SHA256: 8b0b5043203d05e8d3e745c738a8b4eebcbea4cfa110183856334a30b306e6f1
SHA1: 4d2d787ce767d5dabc1db2f2df6fe4978128c659
MD5sum: 5edd08225f857e22e565f3612f35162a
Description: 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.1).
Description-md5: b06938348d6d72a1f125f8d3d536eddb
Package: php-mysql
Source: php-defaults (76)
Version: 2:7.4+76
Installed-Size: 13
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php7.4-mysql
Description: MySQL module for PHP [default]
Description-md5: fd0931ab2661ead520b8033f4308fb69
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-mysql_7.4+76_all.deb
Size: 6360
MD5sum: 132156df757731003b1bc73997907792
SHA256: a97c601d9172752cf0555468209dd913dd52a7e371eaf83ce98b23fe8fb43495
Source: php-defaults (92+0~20220117.43+debian11~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 14
Depends: php-common, php8.1-mysql
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-mysql_8.1+92+0~20220117.43+debian11~1.gbpe0d14e_all.deb
Size: 7424
SHA256: 8b0b5043203d05e8d3e745c738a8b4eebcbea4cfa110183856334a30b306e6f1
SHA1: 4d2d787ce767d5dabc1db2f2df6fe4978128c659
MD5sum: 5edd08225f857e22e565f3612f35162a
Description: 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.1).
Description-md5: b06938348d6d72a1f125f8d3d536eddb
Package: php-mysql
Source: php-defaults (76)
Version: 2:7.4+76
Installed-Size: 13
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php7.4-mysql
Description: MySQL module for PHP [default]
Description-md5: fd0931ab2661ead520b8033f4308fb69
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-mysql_7.4+76_all.deb
Size: 6360
MD5sum: 132156df757731003b1bc73997907792
SHA256: a97c601d9172752cf0555468209dd913dd52a7e371eaf83ce98b23fe8fb43495