Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

admin/environment/php extension/xmlrpc: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
Cap resum de modificació
 
Cap resum de modificació
Línia 6: Línia 6:
#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  

Revisió del 01:43, 10 març 2008

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