How To Install php-pecl-igbinary on Fedora 36

In this tutorial we learn how to install php-pecl-igbinary in Fedora 36. php-pecl-igbinary is Replacement for the standard PHP serializer

Introduction

In this tutorial we learn how to install php-pecl-igbinary on Fedora 36.

What is php-pecl-igbinary

Igbinary is a drop in replacement for the standard PHP serializer. Instead of time and space consuming textual representation, igbinary stores PHP data structures in a compact binary form. Savings are significant when using memcached or similar memory based storages for serialized data.

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

Install php-pecl-igbinary 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-pecl-igbinary using dnf by running the following command:

sudo dnf -y install php-pecl-igbinary

Install php-pecl-igbinary 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-pecl-igbinary using yum by running the following command:

sudo yum -y install php-pecl-igbinary

How To Uninstall php-pecl-igbinary on Fedora 36

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

sudo dnf remove php-pecl-igbinary

php-pecl-igbinary Package Contents on Fedora 36

/etc/php-zts.d/40-igbinary.ini
/etc/php.d/40-igbinary.ini
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/d6ebd165a2cc1c29075db3aa30771650043fb9
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/b85ee4c906d6eb7461cbf95adcabe1e7d2c96b
/usr/lib64/php-zts/modules/igbinary.so
/usr/lib64/php/modules/igbinary.so
/usr/share/doc/pecl/igbinary
/usr/share/doc/pecl/igbinary/CREDITS
/usr/share/doc/pecl/igbinary/NEWS
/usr/share/doc/pecl/igbinary/README.md
/usr/share/doc/pecl/igbinary/TECH_NOTES.md
/usr/share/doc/pecl/igbinary/igbinary.php
/usr/share/doc/pecl/igbinary/igbinary.php.ini
/usr/share/doc/pecl/igbinary/igbinary.spec
/usr/share/doc/pecl/igbinary/tags.sh
/var/lib/php/peclxml/php-pecl-igbinary.xml

References

Summary

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