How To Install php-pecl-uopz on Fedora 36

In this tutorial we learn how to install php-pecl-uopz in Fedora 36. php-pecl-uopz is User Operations for Zend

Introduction

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

What is php-pecl-uopz

The uopz extension is focused on providing utilities to aid with unit testing PHP code. It supports the following activities - Intercepting function execution - Intercepting object creation - Hooking into function execution - Manipulation of function statics - Manipulation of function flags - Redefinition of constants - Deletion of constants - Runtime creation of functions and methods Note Documentation

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

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

sudo dnf -y install php-pecl-uopz

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

sudo yum -y install php-pecl-uopz

How To Uninstall php-pecl-uopz on Fedora 36

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

sudo dnf remove php-pecl-uopz

php-pecl-uopz Package Contents on Fedora 36

/etc/php-zts.d/05-uopz.ini
/etc/php.d/05-uopz.ini
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/da87f0f0ae5de1a19ee285d289732ca9158f19
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/418a73487f5e785d35b936d96f0e52b03da5b8
/usr/lib64/php-zts/modules/uopz.so
/usr/lib64/php/modules/uopz.so
/usr/share/doc/pecl/uopz
/usr/share/doc/pecl/uopz/README.md
/usr/share/licenses/php-pecl-uopz
/usr/share/licenses/php-pecl-uopz/LICENSE
/var/lib/php/peclxml/php-pecl-uopz.xml

References

Summary

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