How to Install and Uninstall php7.0-mysql Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 23,2024

1. Install "php7.0-mysql" package

In this section, we are going to explain the necessary steps to install php7.0-mysql on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php7.0-mysql" package

Here is a brief guide to show you how to uninstall php7.0-mysql on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php7.0-mysql package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php7.0-mysql
Source: php7.0
Priority: optional
Section: php
Installed-Size: 499
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu22.04.1+deb.sury.org+2
Provides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.0-mysqli, php7.0-mysqlnd, php7.0-pdo-mysql
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+ubuntu22.04.1+deb.sury.org+2), libc6 (>= 2.15)
Filename: pool/main/p/php7.0/php7.0-mysql_7.0.33-68+ubuntu22.04.1+deb.sury.org+2_amd64.deb
Size: 141738
MD5sum: 1a67d2274a254211edf6f4ed09e0f8e5
SHA1: 2796053a97bcbccae91a5fd85f8b0565e3328bba
SHA256: a13f303e2de3c480f4876a97fa1f2aefa0933579c1d14f172c77cb7661f50789
Description: MySQL module for PHP
Description-md5: dba46097413040653c65df244b4f891f