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/iconv: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(removed false impression that enabling effects installation)
m (Added note saying that the iconv module is now part of php and doesn't have to be included as an extension.)
Línia 5: Línia 5:
#Remove the <code>;</code> at the beginning of the line
#Remove the <code>;</code> at the beginning of the line
#Restart apache for the change to take effect.
#Restart apache for the change to take effect.
    Note: The iconv module is now part of PHP as of PHP version 5 so
    the php_iconv.dll file is not needed anymore. It is no longer
    included as an extension in the php.ini-recommended file in the PHP
    Windows binaries package and you do not need to enable the extension
    in your php.ini. In other words, you do not have to enable the
    '''extension=php_iconv.dll''' line in your php.ini file.
    See http://www.php.net/manual/en/iconv.installation.php for details.


This page needs to be enhanced by adding corresponding instructions for other kinds of Moodle installations.
This page needs to be enhanced by adding corresponding instructions for other kinds of Moodle installations.


[[Category:Environment|PHP]]
[[Category:Environment|PHP]]

Revisió del 13:37, 8 jul 2008

To enable iconv in Windows package installations of Moodle:

  1. Open the php.ini file found in the moodle/apache/bin folder
  2. Find the line: ;extension=php_iconv.dll
  3. Remove the ; at the beginning of the line
  4. Restart apache for the change to take effect.
   Note: The iconv module is now part of PHP as of PHP version 5 so 
   the php_iconv.dll file is not needed anymore. It is no longer 
   included as an extension in the php.ini-recommended file in the PHP 
   Windows binaries package and you do not need to enable the extension 
   in your php.ini. In other words, you do not have to enable the 
   extension=php_iconv.dll line in your php.ini file.
   See http://www.php.net/manual/en/iconv.installation.php for details.

This page needs to be enhanced by adding corresponding instructions for other kinds of Moodle installations.