How To Install php-pear-MDB2-Driver-mysqli on Fedora 36

In this tutorial we learn how to install php-pear-MDB2-Driver-mysqli in Fedora 36. php-pear-MDB2-Driver-mysqli is MySQL Improved MDB2 driver

Introduction

In this tutorial we learn how to install php-pear-MDB2-Driver-mysqli on Fedora 36.

What is php-pear-MDB2-Driver-mysqli

This is the MySQL Improved MDB2 driver.

We can use yum or dnf to install php-pear-MDB2-Driver-mysqli on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear-MDB2-Driver-mysqli.

Install php-pear-MDB2-Driver-mysqli on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-pear-MDB2-Driver-mysqli using dnf by running the following command:

sudo dnf -y install php-pear-MDB2-Driver-mysqli

Install php-pear-MDB2-Driver-mysqli on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-pear-MDB2-Driver-mysqli using yum by running the following command:

sudo yum -y install php-pear-MDB2-Driver-mysqli

How To Uninstall php-pear-MDB2-Driver-mysqli on Fedora 36

To uninstall only the php-pear-MDB2-Driver-mysqli package we can use the following command:

sudo dnf remove php-pear-MDB2-Driver-mysqli

php-pear-MDB2-Driver-mysqli Package Contents on Fedora 36

/usr/share/pear-data/MDB2_Driver_mysqli
/usr/share/pear-data/MDB2_Driver_mysqli/package_mysqli.xml
/usr/share/pear/MDB2/Driver/Datatype/mysqli.php
/usr/share/pear/MDB2/Driver/Function/mysqli.php
/usr/share/pear/MDB2/Driver/Manager/mysqli.php
/usr/share/pear/MDB2/Driver/Native/mysqli.php
/usr/share/pear/MDB2/Driver/Reverse/mysqli.php
/usr/share/pear/MDB2/Driver/mysqli.php
/usr/share/tests/pear/MDB2_Driver_mysqli
/usr/share/tests/pear/MDB2_Driver_mysqli/tests
/usr/share/tests/pear/MDB2_Driver_mysqli/tests/Nonstandard
/usr/share/tests/pear/MDB2_Driver_mysqli/tests/Nonstandard/MysqliHelper.php
/var/lib/pear/pkgxml/php-pear-MDB2-Driver-mysqli.xml

References

Summary

In this tutorial we learn how to install php-pear-MDB2-Driver-mysqli on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).