Configuring Moodle networking prerequisites
MNet requires three additional components to be installed on all participating servers that deal with secure communication and safe data exchange.
Checking the required PHP extensions
The following elements must be installed on all Moodle servers participating in the network:
- curl: A PHP library of calls designed to safely fetch data from remote sites. If not installed, you must recompile PHP and add
--with curl
when runningconfigure
. - openssl: The OpenSSL PHP library provides encryption functionality without the need to purchase an SSL certificate (
--
with openssl
). - xmlrpc: A PHP library that supports remote procedure calls via XML (
--
with xmlrpc
).
It is possible to add trusted hosts to Moodle, which allows them to execute calls via XML-RPC to any part of the Moodle API. Trusted hosts are potentially very dangerous and are only meant for developers; we will not be dealing with this functionality here:
...