Unbundle ext/xmlrpc View as Markdown

Implemented (PHP 8.0)
Authors
Christoph M. Becker, cmb@php.net
Date
2020-05-12
Version
1.0
Source
wiki.php.net/rfc/unbundle_xmlprc

Vote

Unbundle ext/xmlrpc closed
Yes
50
No
0
50 voters
asgrim Yes 2020-05-13 14:02
ashnazg Yes 2020-05-13 12:12
beberlei Yes 2020-05-12 10:39
brzuchal Yes 2020-05-21 20:03
bwoebi Yes 2020-05-12 10:07
carusogabriel Yes 2020-05-12 11:56
cmb Yes 2020-05-12 10:08
dams Yes 2020-05-25 13:19
danack Yes 2020-05-12 12:16
derick Yes 2020-05-12 11:23
dragoonis Yes 2020-05-18 12:18
duncan3dc Yes 2020-05-17 10:47
duodraco Yes 2020-05-22 21:12
ekin Yes 2020-05-13 20:52
galvao Yes 2020-05-12 14:22
geekcom Yes 2020-05-15 03:18
girgias Yes 2020-05-12 10:09
guilhermeblanco Yes 2020-05-26 14:04
jasny Yes 2020-05-15 09:58
jbnahan Yes 2020-05-15 11:48
jhdxr Yes 2020-05-14 23:04
kalle Yes 2020-05-12 11:41
kguest Yes 2020-05-12 20:06
kocsismate Yes 2020-05-12 10:09
laruence Yes 2020-05-12 14:41
levim Yes 2020-05-18 02:06
lstrojny Yes 2020-05-15 11:47
marandall Yes 2020-05-12 10:37
mariano Yes 2020-05-12 12:21
mbeccati Yes 2020-05-13 07:09
mcmic Yes 2020-05-12 10:43
nicolasgrekas Yes 2020-05-13 14:00
nikic Yes 2020-05-12 10:58
ocramius Yes 2020-05-13 09:23
pmjones Yes 2020-05-12 12:31
pollita Yes 2020-05-15 14:32
ramsey Yes 2020-05-14 19:13
reywob Yes 2020-05-13 12:28
ruudboon Yes 2020-05-16 16:52
santiagolizardo Yes 2020-05-15 13:21
sebastian Yes 2020-05-12 10:06
sergey Yes 2020-05-14 19:51
stas Yes 2020-05-12 17:16
svpernova09 Yes 2020-05-15 12:40
tandre Yes 2020-05-12 13:58
trowski Yes 2020-05-21 17:16
villfa Yes 2020-05-14 08:20
wyrihaximus Yes 2020-05-15 19:15
yunosh Yes 2020-05-13 07:05
zimt Yes 2020-05-15 08:45

Discussions on the mailing list

What to do with ext/xmlrpc?
by Christoph M. Becker · 11 messages
[RFC] Unbundle ext/xmlrpc
by Christoph M. Becker · 8 messages
[VOTE] Unbundle ext/xmlrpc
by Christoph M. Becker · 2 messages
[RFC] Guard statement
by Pavel Patapau · 12 messages

RFC text

Copied from wiki.php.net, last synchronized Oct 13, 2026 11:51 UTC

Introduction

ext/xmlrpc relies on on libxmlrpc-epi, which is abandoned. Even worse, we are bundling a modified 0.51, while the latest version is 0.54.1. This is exacerbated by the fact that the system library is usually built against libexpat, but the bundled library is likely to be built against libxml2 using our compatibility layer.

Relying on an external library which is no longer maintained for more than nine years is suboptimal. Dropping support for system libraries in favor of the bundled xmlrpc-epi, however, would obviously require us to update the bundled library to the latest version, and also to maintain it ourselves for the foreseeable future at least. Since ext/xmlrpc appears barely maintained for years, it does not seem likely that we would have the resources to actually do that.

Proposal

Unbundle ext/xmlrpc (i.e. move it to PECL) without any explicit deprecation.

We are not doing users a favor by having an extension which relies on an unmaintained library, which may have serious issues and maybe even vulnerabilites, without signalling that issue. Since the problem with xmlrpc does not appear to be its functionality or API, but rather the lack of maintainance, a deprecation does not seem appropriate. Moving the extension to PECL is supposed to give users that signal, so they can reevaluate their use of the extension.

Backward Incompatible Changes

The functionality offered by the xmprc extension is no longer available, unless the respective PECL package is used.

Proposed PHP Version(s)

PHP 8.0.0.

Future Scope

It may be considered to move the xmlrpc_errors and xmlrpc_error_number INI settings to the xmlrpc extension. This is outside of the scope of this RFC, though.

Voting

A simple yes/no vote about whether to unbundle ext/xmlrpc or not. Unbundling requires a 2/3 majority. Voting starts on 2020-05-12, and ends on 2020-05-26 (12:00 UTC).

Vote: Unbundle ext/xmlrpc — Yes: 50 · No: 0 (closed)

Implementation

After the project is implemented, this section should contain

  1. Unbundled via https://github.com/php/php-src/pull/5640
  2. a link to the PHP manual entry for the feature

References