Operating System & Version
CentOS v7.9.2009 STANDARD
cPanel & WHM Version
106.0.4

HaNi Ghaith

Member
Feb 21, 2020
14
1
3
Palestine
cPanel Access Level
Root Administrator
Hi

How I can install xmlrpc on PHP 8.1?

I used this command and I see the following

[[email protected] ]# yum install ea-php*-php-xmlrpc
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 93.115.203.100
* cpanel-addons-production-feed: 93.115.203.100
* cpanel-plugins: 93.115.203.100
* base: mirror.ratiokontakt.de
* epel: mirror.de.leaseweb.net
* extras: mirror.23m.com
* updates: de.mirrors.clouvider.net
Package ea-php55-php-xmlrpc-5.5.38-59.61.17.cpanel.x86_64 already installed and latest version
Package ea-php74-php-xmlrpc-7.4.30-1.1.9.cpanel.x86_64 already installed and latest version
Package ea-php71-php-xmlrpc-7.1.33-14.16.17.cpanel.x86_64 already installed and latest version
Package ea-php73-php-xmlrpc-7.3.33-4.4.17.cpanel.x86_64 already installed and latest version
Package ea-php70-php-xmlrpc-7.0.33-23.25.17.cpanel.x86_64 already installed and latest version
Package ea-php56-php-xmlrpc-5.6.40-21.23.17.cpanel.x86_64 already installed and latest version
Package ea-php54-php-xmlrpc-5.4.45-76.78.17.cpanel.x86_64 already installed and latest version
Package ea-php72-php-xmlrpc-7.2.34-7.9.17.cpanel.x86_64 already installed and latest version
Nothing to do
[[email protected] ]#

Also, I don't see an extension on EA4.

Regards.
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,499
1,971
363
cPanel Access Level
Root Administrator
Hey there! As of PHP 8.0, the PHP group has moved this to a PECL:


so there is no RPM available to install this through EasyApache. It has also been officially moved to an experimental status, so you'd need to use the custom experimental sources to install this, as shown here:

Code:
# /opt/cpanel/ea-php80/root/usr/bin/pecl install xmlrpc
Failed to download pecl/xmlrpc within preferred state "stable", latest release is version 1.0.0RC3, stability "beta", use "channel://pecl.php.net/xmlrpc-1.0.0RC3" to install
In general, it's not recommended to use this tool as it hasn't been updated in several years and may not be compatible with modern PHP versions.