How To Install php-pecl-apfd on Fedora 36

In this tutorial we learn how to install php-pecl-apfd in Fedora 36. php-pecl-apfd is Always Populate Form Data

Introduction

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

What is php-pecl-apfd

This tiny extension lets PHP’s post handler parse multipart/form-data and application/x-www-form-urlencoded (or any other customly registered form data handler, like “json_post”) without regard to the request’s request method. This extension does not provide any INI entries, constants, functions or classes.

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

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

sudo dnf -y install php-pecl-apfd

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

sudo yum -y install php-pecl-apfd

How To Uninstall php-pecl-apfd on Fedora 36

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

sudo dnf remove php-pecl-apfd

php-pecl-apfd Package Contents on Fedora 36

/etc/php-zts.d/40-apfd.ini
/etc/php.d/40-apfd.ini
/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/2a0fba760d90213c9cb8b4e397ef30431eab48
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/19fae2cca71eb009a3ed260228bac3a038ee55
/usr/lib64/php-zts/modules/apfd.so
/usr/lib64/php/modules/apfd.so
/usr/share/doc/pecl/apfd
/usr/share/doc/pecl/apfd/AUTHORS
/usr/share/doc/pecl/apfd/CONTRIBUTING.md
/usr/share/doc/pecl/apfd/CREDITS
/usr/share/doc/pecl/apfd/README.md
/usr/share/doc/pecl/apfd/THANKS
/usr/share/licenses/php-pecl-apfd
/usr/share/licenses/php-pecl-apfd/LICENSE
/var/lib/php/peclxml/php-pecl-apfd.xml

References

Summary

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