How install php-xmlrcp on php7 centos 6.8

Pauchri

New member
Joined
Sep 21, 2016
Messages
6
Hi everyone,

I need php extension XMLRPC.
How do I install this?

I use php 7 on centos 6.8

If I do: yum install php-xmlrpc
then: No package php-xmlrpc available.



I hope someone can help
Thanks
 
Hello,

As these forums are for Directadmin administrators and users I assume you are one of them. And here we don't use rpm or yum, we build PHP from sources:

- Add custom modules to php with custombuild
https://help.directadmin.com/item.php?id=252

XML-RPC support in PHP is not enabled by default. You will need to use the --with-xmlrpc[=DIR] configuration option when compiling PHP to enable XML-RPC support. This extension is bundled into PHP as of 4.1.0.

- PHP: XML-RPC - Manual
http://php.net/manual/en/xmlrpc.installation.php
 
I have no experience with command lines in Custom Build or Centos.
I only use DirectAdmin.
I've tried everything but get php-xmlrpc not installed.
I need this for Linking Moodle and Joomla
Please can someone give me the correct commands

Thanks
 
I have add in the configure file:

--with-xmlrpc = DIR

then:

./build php n

But then I get the error: checking for XMLRPC-EPI default path ... not found
What is the right path?
 
You will see something until you understand it.
It works, and it was simple. next time I'll read better.
thanks
 
Back
Top