How To Install php-brumann-polyfill-unserialize on Fedora 36
Introduction
In this tutorial we learn how to install php-brumann-polyfill-unserialize
on Fedora 36.
What is php-brumann-polyfill-unserialize
Backports unserialize options introduced in PHP 7.0 to older PHP versions. This was originally designed as a Proof of Concept for Symfony Issue [#21090](https You can use this package in projects that rely on PHP versions older than PHP 7.0. In case you are using PHP 7.0+ the original unserialize() will be used instead. From the [documentation](https > Warning > can result in code being loaded and executed due to object instantiation and > autoloading, and a malicious user may be able to exploit this. This warning holds true even when
allowed_classes
is used. Autoloader
We can use yum
or dnf
to install php-brumann-polyfill-unserialize
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-brumann-polyfill-unserialize.
Install php-brumann-polyfill-unserialize 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-brumann-polyfill-unserialize
using dnf
by running the following command:
sudo dnf -y install php-brumann-polyfill-unserialize
Install php-brumann-polyfill-unserialize 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-brumann-polyfill-unserialize
using yum
by running the following command:
sudo yum -y install php-brumann-polyfill-unserialize
How To Uninstall php-brumann-polyfill-unserialize on Fedora 36
To uninstall only the php-brumann-polyfill-unserialize
package we can use the following command:
sudo dnf remove php-brumann-polyfill-unserialize
php-brumann-polyfill-unserialize Package Contents on Fedora 36
/usr/share/doc/php-brumann-polyfill-unserialize
/usr/share/doc/php-brumann-polyfill-unserialize/README.md
/usr/share/doc/php-brumann-polyfill-unserialize/composer.json
/usr/share/licenses/php-brumann-polyfill-unserialize
/usr/share/licenses/php-brumann-polyfill-unserialize/LICENSE
/usr/share/php/Brumann
/usr/share/php/Brumann/Polyfill
/usr/share/php/Brumann/Polyfill/Unserialize.php
/usr/share/php/Brumann/Polyfill/autoload.php
References
Summary
In this tutorial we learn how to install php-brumann-polyfill-unserialize
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).