How to Install and Uninstall php7.1-mysql Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 23,2024

1. Install "php7.1-mysql" package

In this section, we are going to explain the necessary steps to install php7.1-mysql on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.1-mysql" package

This guide let you learn how to uninstall php7.1-mysql on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.1-mysql package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.1-mysql
Source: php7.1
Priority: optional
Section: php
Installed-Size: 475
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-56+ubuntu20.04.1+deb.sury.org+1
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.1-mysqli, php7.1-mysqlnd, php7.1-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-56+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.15)
Filename: pool/main/p/php7.1/php7.1-mysql_7.1.33-56+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 122720
MD5sum: 592f9e417d5b2f340f788e8fe9908a1d
SHA1: c67c7282161bbee4ea31ae31304a3ddec1279a92
SHA256: e27b36550b2af7af17e99fd31392e6688bcb421310014fe0d8d4f46e2eee25bf
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f