How To Install php-psr-http-server-handler on Fedora 36

In this tutorial we learn how to install php-psr-http-server-handler in Fedora 36. php-psr-http-server-handler is Common interface for HTTP server-side request handler

Introduction

In this tutorial we learn how to install php-psr-http-server-handler on Fedora 36.

What is php-psr-http-server-handler

This repository holds the RequestHandlerInterface related to PSR-15 (HTTP Server Request Handlers). Please refer to the specification for a description https Autoloader

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

Install php-psr-http-server-handler 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-psr-http-server-handler using dnf by running the following command:

sudo dnf -y install php-psr-http-server-handler

Install php-psr-http-server-handler 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-psr-http-server-handler using yum by running the following command:

sudo yum -y install php-psr-http-server-handler

How To Uninstall php-psr-http-server-handler on Fedora 36

To uninstall only the php-psr-http-server-handler package we can use the following command:

sudo dnf remove php-psr-http-server-handler

php-psr-http-server-handler Package Contents on Fedora 36

/usr/share/doc/php-psr-http-server-handler
/usr/share/doc/php-psr-http-server-handler/README.md
/usr/share/doc/php-psr-http-server-handler/composer.json
/usr/share/licenses/php-psr-http-server-handler
/usr/share/licenses/php-psr-http-server-handler/LICENSE
/usr/share/php/Psr/Http/Server
/usr/share/php/Psr/Http/Server/RequestHandlerInterface.php
/usr/share/php/Psr/Http/Server/autoload.php

References

Summary

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