How To Install php-pear-Log on Fedora 36

In this tutorial we learn how to install php-pear-Log in Fedora 36. php-pear-Log is Abstracted logging facility for PHP

Introduction

In this tutorial we learn how to install php-pear-Log on Fedora 36.

What is php-pear-Log

The Log framework provides an abstracted logging system. It supports logging to console, file, syslog, SQL, Sqlite, mail, and mcal targets. It also provides a subject - observer mechanism. php-pear-Log can optionally use package “php-pear-DB” (version >= 1.3) and “php-pear-MDB2” (version >= 2.0.0RC1).

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

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

sudo dnf -y install php-pear-Log

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

sudo yum -y install php-pear-Log

How To Uninstall php-pear-Log on Fedora 36

To uninstall only the php-pear-Log package we can use the following command:

sudo dnf remove php-pear-Log

php-pear-Log Package Contents on Fedora 36

/usr/share/doc/pear/Log
/usr/share/doc/pear/Log/docs
/usr/share/doc/pear/Log/docs/guide.txt
/usr/share/doc/pear/Log/examples
/usr/share/doc/pear/Log/examples/composite.php
/usr/share/doc/pear/Log/examples/console.php
/usr/share/doc/pear/Log/examples/display.php
/usr/share/doc/pear/Log/examples/error_log.php
/usr/share/doc/pear/Log/examples/file.php
/usr/share/doc/pear/Log/examples/firebug.php
/usr/share/doc/pear/Log/examples/mail.php
/usr/share/doc/pear/Log/examples/null.php
/usr/share/doc/pear/Log/examples/observer_mail.php
/usr/share/doc/pear/Log/examples/pear_error_handler.php
/usr/share/doc/pear/Log/examples/php_error_handler.php
/usr/share/doc/pear/Log/examples/sql.php
/usr/share/doc/pear/Log/examples/sqlite.php
/usr/share/doc/pear/Log/examples/syslog.php
/usr/share/doc/pear/Log/examples/win.php
/usr/share/pear-data/Log
/usr/share/pear-data/Log/misc
/usr/share/pear-data/Log/misc/log.sql
/usr/share/pear/Log
/usr/share/pear/Log.php
/usr/share/pear/Log/composite.php
/usr/share/pear/Log/console.php
/usr/share/pear/Log/daemon.php
/usr/share/pear/Log/display.php
/usr/share/pear/Log/error_log.php
/usr/share/pear/Log/file.php
/usr/share/pear/Log/firebug.php
/usr/share/pear/Log/mail.php
/usr/share/pear/Log/mcal.php
/usr/share/pear/Log/mdb2.php
/usr/share/pear/Log/null.php
/usr/share/pear/Log/observer.php
/usr/share/pear/Log/sql.php
/usr/share/pear/Log/sqlite.php
/usr/share/pear/Log/syslog.php
/usr/share/pear/Log/win.php
/usr/share/tests/pear/Log
/usr/share/tests/pear/Log/tests
/usr/share/tests/pear/Log/tests/backtrace.phpt
/usr/share/tests/pear/Log/tests/composite.phpt
/usr/share/tests/pear/Log/tests/console.phpt
/usr/share/tests/pear/Log/tests/display.phpt
/usr/share/tests/pear/Log/tests/error_log.phpt
/usr/share/tests/pear/Log/tests/extract-zend2.0.phpt
/usr/share/tests/pear/Log/tests/extract-zend2.2.phpt
/usr/share/tests/pear/Log/tests/factory.phpt
/usr/share/tests/pear/Log/tests/file.phpt
/usr/share/tests/pear/Log/tests/firebug.phpt
/usr/share/tests/pear/Log/tests/format.phpt
/usr/share/tests/pear/Log/tests/levels.phpt
/usr/share/tests/pear/Log/tests/masks.phpt
/usr/share/tests/pear/Log/tests/null.phpt
/usr/share/tests/pear/Log/tests/priority.phpt
/usr/share/tests/pear/Log/tests/singleton.phpt
/usr/share/tests/pear/Log/tests/sql_ident.phpt
/usr/share/tests/pear/Log/tests/sqlite.phpt
/usr/share/tests/pear/Log/tests/syslog.phpt
/usr/share/tests/pear/Log/tests/win-ob.phpt
/usr/share/tests/pear/Log/tests/win.phpt
/var/lib/pear/pkgxml/php-pear-Log.xml

References

Summary

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