admin/environment/php extension/xmlrpc: Difference between revisions
From MoodleDocs
No edit summary |
m (added link to spanish translation of document) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Environment}} | |||
To install the xmlrpc library on Windows | To install the xmlrpc library on Windows | ||
Line 6: | Line 7: | ||
#Restart apache if necessary | #Restart apache if necessary | ||
To install the xmlrpc library on 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: | |||
* On Ubuntu and Debian, the command is: apt-get install php5-xmlrpc | |||
* On RedHat, Fedora, CentOS and SuSE, the command is: yum install php-xmlrpc | |||
If you compiled your PHP from source | |||
# You need to recompile PHP from source | # You need to recompile PHP from source | ||
Line 12: | Line 20: | ||
[[Category:Environment|php extension]] | [[Category:Environment|PHP extension]] | ||
[[ | [[Category:MNet|PHP]] | ||
[[fr:admin/environment/php extension/xmlrpc]] | |||
[[es:admin/environment/php extension/xmlrpc]] |
Latest revision as of 16:58, 5 July 2014
To install the xmlrpc library on Windows
- Open the php.ini file found in the moodle/apache/bin folder
- Find the line:
;extension=php_xmlrpc.dll
- Remove the
;
at the beginning of the line - Restart apache if necessary
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:
- On Ubuntu and Debian, the command is: apt-get install php5-xmlrpc
- On RedHat, Fedora, CentOS and SuSE, the command is: yum install php-xmlrpc
If you compiled your PHP from source
- You need to recompile PHP from source
- add --with-xmlrpc to the command line when you run configure