PHP 8.0 and XMLRPC

PHP 8.0 and XMLRPC

by Jon Witts -
Number of replies: 2

Hi there,

Just updated my dev machine to Ubuntu 21.20 and PHP 8.0 and have got round to testing Moodle on it. the php-xmlrpc extension has been moved to PECL from PHP 8.0 and is showing as not maintained... 

Do we still need xmlrpc?

https://php.watch/versions/8.0/xmlrpc

https://pecl.php.net/package/xmlrpc

Jon

Average of ratings: -
In reply to Jon Witts

Re: PHP 8.0 and XMLRPC

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Jon,

php-xmlrpc extension is declared optional / recommended only (not required / mandatory). That means that you can run Moodle without xmlrpc perfectly.

You only will need it if trying to use some features:

  • Mnet (inter-server communication and authentication plugin).
  • xmlrpc web-services server.
  • Mahara portfolio.
  • Course publishing @ old moodle hub.
  • ...

If some of those features are needed, right now, the only option is to install the beta releases @ PECL that you've commented above (https://pecl.php.net/package/xmlrpc).

Finally, note that there is MDL-70889 about to discuss and decide what to do with all that xmlrpc-dependent stuff because, clearly, the extension available @ PECL is not maintained, old and we need to find a replacement or remove / move all the features above to something better.

Ciao smile

Average of ratings: Useful (5)