How To Install php-interbase on CentOS 7

In this tutorial we learn how to install php-interbase on CentOS 7. php-interbase is Standard PHP module provides interbase/firebird support

Introduction

In this tutorial we learn how to install php-interbase on CentOS 7.

What is php-interbase

The php-interbase package contains a dynamic shared object that will add database support through Interbase/Firebird to PHP. InterBase is the name of the closed-source variant of this RDBMS that was developed by Borland/Inprise. Firebird is a commercially independent project of C and C++ programmers, technical advisors and supporters developing and enhancing a multi-platform relational database management system based on the source code released by Inprise Corp (now known as Borland Software Corp) under the InterBase Public License.

We can use yum or dnf to install php-interbase on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-interbase.

Install php-interbase on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install php-interbase using yum by running the following command:

sudo yum -y install php-interbase

Install php-interbase on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install php-interbase using dnf by running the following command:

sudo dnf -y install php-interbase

How To Uninstall php-interbase on CentOS 7

To uninstall only the php-interbase package we can use the following command:

sudo dnf remove php-interbase

References

Summary

In this tutorial we learn how to install php-interbase on CentOS 7 using yum and dnf.