Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: admin/environment/php extension/xmlrpc.

admin/environment/php extension/xmlrpc: Difference between revisions

From MoodleDocs
m (category edit)
m (category edit)
Line 19: Line 19:




[[Category:Environment|php extension]]
[[Category:Environment|PHP extension]]
[[Category:MNet]]
[[Category:MNet|PHP]]


[[fr:admin/environment/php extension/xmlrpc]]
[[fr:admin/environment/php extension/xmlrpc]]

Revision as of 20:26, 18 February 2010

To install the xmlrpc library on Windows

  1. Open the php.ini file 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. 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

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