How To Install php-pecl-event on Fedora 36

In this tutorial we learn how to install php-pecl-event in Fedora 36. php-pecl-event is Provides interface to libevent library

Introduction

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

What is php-pecl-event

This is an extension to efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available for specific platform. This is a port of libevent to the PHP infrastructure. Version 1.0.0 introduces * new OO API breaking backwards compatibility * support of libevent 2+ including HTTP, DNS, OpenSSL and the event listener. Documentation

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

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

sudo dnf -y install php-pecl-event

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

sudo yum -y install php-pecl-event

How To Uninstall php-pecl-event on Fedora 36

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

sudo dnf remove php-pecl-event

php-pecl-event Package Contents on Fedora 36

/etc/php-zts.d/40-event.ini
/etc/php.d/40-event.ini
/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/126d3dbebb3a613d9967d5e5945f8272a163c7
/usr/lib/.build-id/be
/usr/lib/.build-id/be/21790d5651bb64cdf9a74a57eafbf98059b74b
/usr/lib64/php-zts/modules/event.so
/usr/lib64/php/modules/event.so
/usr/share/doc/pecl/event
/usr/share/doc/pecl/event/CREDITS
/usr/share/doc/pecl/event/INSTALL.md
/usr/share/doc/pecl/event/README.md
/usr/share/doc/pecl/event/examples
/usr/share/doc/pecl/event/examples/buffer_proxy.php
/usr/share/doc/pecl/event/examples/eio.php
/usr/share/doc/pecl/event/examples/fibonacci_buffer.php
/usr/share/doc/pecl/event/examples/http.php
/usr/share/doc/pecl/event/examples/http_accept.php
/usr/share/doc/pecl/event/examples/http_alias.php
/usr/share/doc/pecl/event/examples/http_bind.php
/usr/share/doc/pecl/event/examples/http_closecb.php
/usr/share/doc/pecl/event/examples/http_request.php
/usr/share/doc/pecl/event/examples/https.php
/usr/share/doc/pecl/event/examples/httpv0client.php
/usr/share/doc/pecl/event/examples/httpv0client2.php
/usr/share/doc/pecl/event/examples/listener.php
/usr/share/doc/pecl/event/examples/misc.php
/usr/share/doc/pecl/event/examples/signal.php
/usr/share/doc/pecl/event/examples/ssl-connection.php
/usr/share/doc/pecl/event/examples/ssl-echo-server
/usr/share/doc/pecl/event/examples/ssl-echo-server/client.php
/usr/share/doc/pecl/event/examples/ssl-echo-server/server.php
/usr/share/doc/pecl/event/examples/sslfilter.php
/usr/share/doc/pecl/event/examples/timer.php
/usr/share/doc/pecl/event/examples/uppercase_proxy.php
/usr/share/licenses/php-pecl-event
/usr/share/licenses/php-pecl-event/LICENSE
/var/lib/php/peclxml/php-pecl-event.xml

References

Summary

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