How To Install php-xmlrpc on Rocky Linux 8

In this tutorial we learn how to install php-xmlrpc on Rocky Linux 8. php-xmlrpc is A module for PHP applications which use the XML-RPC protocol

Introduction

In this tutorial we learn how to install php-xmlrpc on Rocky Linux 8.

What is php-xmlrpc

The php-xmlrpc package contains a dynamic shared object that will add support for the XML-RPC protocol to PHP.

We can use yum or dnf to install php-xmlrpc on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install php-xmlrpc.

Install php-xmlrpc on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-xmlrpc using dnf by running the following command:

sudo dnf -y install php-xmlrpc

Install php-xmlrpc on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-xmlrpc using yum by running the following command:

sudo yum -y install php-xmlrpc

How To Uninstall php-xmlrpc on Rocky Linux 8

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

sudo dnf remove php-xmlrpc

php-xmlrpc Package Contents on Rocky Linux 8

/etc/php.d/30-xmlrpc.ini
/usr/lib/.build-id
/usr/lib/.build-id/89
/usr/lib/.build-id/89/ee95886190292d629aa68ca1ef0029694b52f7
/usr/lib64/php/modules/xmlrpc.so

References

Summary

In this tutorial we learn how to install php-xmlrpc on Rocky Linux 8 using yum and dnf.