Difference between revisions of "Admin/environment/php extension/xmlrpc"

From Learnit docs
(Created page with "{{Environment}} To install the xmlrpc library on Windows #Open the ''php.ini'' file found in the ''moodle/apache/bin'' folder #Find the line: <code>;extension=php_xmlrpc.dll<...")
 
 
Line 1: Line 1:
 
{{Environment}}
 
{{Environment}}
To install the xmlrpc library on Windows
+
To install the xmlrpc library on Microsoft Windows:
  
#Open the ''php.ini'' file found in the ''moodle/apache/bin'' folder
+
#Open the ''php.ini'' file, depending on your installation this may be found in the ''moodle/apache/bin'' folder
 
#Find the line: <code>;extension=php_xmlrpc.dll</code>
 
#Find the line: <code>;extension=php_xmlrpc.dll</code>
 
#Remove the <code>;</code> at the beginning of the line
 
#Remove the <code>;</code> at the beginning of the line
#Restart apache if necessary
+
#If necessary restart the web server, e.g. IIS or Apache.
  
 
To install the xmlrpc library on Linux/Unix
 
To install the xmlrpc library on Linux/Unix
  
If you are using PHP as provided by the OS, you can just install the appropriate package, and restart apache:
+
If you are using PHP as provided by the OS, you can just install the appropriate package, and restart the service (e.g. PHP-FPM or Apache):
  
* On Ubuntu and Debian, the command is: apt-get install php5-xmlrpc
+
* On Ubuntu and Debian, the command is: apt-get install php-xmlrpc
* On RedHat, Fedora, CentOS and SuSE, the command is: yum install php-xmlrpc
+
* On RedHat, Fedora, CentOS and SuSE, the command is: dnf install php-xmlrpc
  
If you compiled your PHP from source
+
If you compiled your PHP from source:
  
 
# You need to recompile PHP from source  
 
# You need to recompile PHP from source  

Latest revision as of 14:50, 11 June 2021

Template:Environment To install the xmlrpc library on Microsoft Windows:

  1. Open the php.ini file, depending on your installation this may be found in the moodle/apache/bin folder
  2. Find the line: ;extension=php_xmlrpc.dll
  3. Remove the ; at the beginning of the line
  4. If necessary restart the web server, e.g. IIS or Apache.

To install the xmlrpc library on Linux/Unix

If you are using PHP as provided by the OS, you can just install the appropriate package, and restart the service (e.g. PHP-FPM or Apache):

  • On Ubuntu and Debian, the command is: apt-get install php-xmlrpc
  • On RedHat, Fedora, CentOS and SuSE, the command is: dnf install php-xmlrpc

If you compiled your PHP from source:

  1. You need to recompile PHP from source
  2. add --with-xmlrpc to the command line when you run configure

fr:admin/environment/php extension/xmlrpc es:admin/environment/php extension/xmlrpc