Installation

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.

Коментарии

Автор:
for centos try:
yum install php-xmlrpc
2020-12-15 16:11:07
http://php5.kiev.ua/manual/ru/xmlrpc.installation.html
Here's what I had to do in order to install the xmlrpc extension on php 8 (from sury repos) on Ubuntu 16, as there is no package available via pecl or apt:

# build
git clone https://git.php.net/repository/pecl/networking/xmlrpc.git
export CPPFLAGS=-I/usr/include/libxml2/
cd xmlrpc && phpize && ./configure --with-expat && make && make install

# enable - this varies depending on your configuration; apache/nginx/fpm will also need to be restarted
echo "extension=xmlrpc.so" > /etc/php/8.0/mods-available/xmlrpc.ini
ln -s /etc/php/8.0/mods-available/xmlrpc.ini /etc/php/8.0/cli/conf.d/20-xmlrpc.ini
ln -s /etc/php/8.0/mods-available/xmlrpc.ini /etc/php/8.0/fpm/conf.d/20-xmlrpc.ini
2020-12-29 15:18:39
http://php5.kiev.ua/manual/ru/xmlrpc.installation.html
Автор:
according to php(dot)watch/versions/8.0/xmlrpc ,
PHP 8.0: XMLRPC extension is moved to PECL

checked, xmlrpc-1.0.0RC2 works for me
2021-01-31 21:40:36
http://php5.kiev.ua/manual/ru/xmlrpc.installation.html
Автор:
Unless my host has deliberately installed it, PHP 8.0.17 still has xmlrpc included (1.0.0RC3).
2022-04-13 13:41:46
http://php5.kiev.ua/manual/ru/xmlrpc.installation.html
# For MacOS users (using M1 machine - Version: 12.5.1)

brew install pkg-config

pecl install channel://pecl.php.net/xmlrpc-1.0.0RC3

Then restart your apache, the extensions should be automatically added to php.ini and the output of phpinfo() should show it now
2022-10-11 13:30:46
http://php5.kiev.ua/manual/ru/xmlrpc.installation.html
Автор:
Since PHP 8.0 the xmlrpc extension is not shipped with php any more.
Go to https://pecl.php.net/package/xmlrpc and download the latest version.

For linux you might use something like that:

$ wget https://pecl.php.net/get/xmlrpc-1.0.0RC3.tg
$ tar xfv xmlrpc-1.0.0RC3.tg
$ cd xmlrpc-1.0.0RC3
$ phpize && ./configure && make && make test && make install

Add the build extension in your php.ini section and don't forget to restart php-fpm or your webserver after the installation.

To verify the installation, you can use something like this (should at least return the line "xmlrpc"):
$ php -i | grep xmlrpc | grep -v "xmlrpc_error"
2023-03-06 10:51:43
http://php5.kiev.ua/manual/ru/xmlrpc.installation.html
For Linux Mint use the next cli command:
sudo apt-get install php-xmlrpc;
sudo service apache2 restart;
2023-08-02 11:23:55
http://php5.kiev.ua/manual/ru/xmlrpc.installation.html

    Поддержать сайт на родительском проекте КГБ