Diferencia entre revisiones de «admin/environment/php extension/mbstring»

De MoodleDocs
(Página creada con 'Para habilitar la extension "mbstring": 1. Abra el archivo php.ini. 2. Encuentre la línea: ;extension=php_mbstring.dll 3. Elimine el punto y coma (;) al inicio de la línea....')
 
(added page)
Línea 1: Línea 1:
Para habilitar la extension "mbstring":
{{Entorno}}
{{Pendiente de traducir}}
If you want to have mbstring work on a LAMP server with yum (Fedora, Redhat, Centos) or apt-get (Ubuntu, Debian) then  do this


1. Abra el archivo php.ini.
1) As root from the CLI ''yum install php-mbstring'' or in the apt-get case ''apt-get install php-mbstring''


2. Encuentre la línea: ;extension=php_mbstring.dll
Then restart Apache


3. Elimine el punto y coma (;) al inicio de la línea.
either ''/etc/init.d/httpd'' restart'' or possibly ''/etc/init.d/apache2 restart''


4. Salve el archivo.
Then check your server Environment again and the whinge from Moodle should have gone away and rewarded you with a nice tick or such-like.


5. Reinicie apache para que surtan efecto los cambios.
 
 
To enable the mbstring library in Windows package installations of Moodle:
 
# Open the ''php.ini'' file found in the ''moodle/apache/bin'' folder or Windows folder
# Find the line: <code>;extension=php_mbstring.dll</code>
# Remove the <code>;</code> at the beginning of the line
# Restart apache if necessary
 
Note: This page needs to be enhanced by adding corresponding instructions for other kinds of Moodle installations.
 
==See also==
 
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=39977 php_extension mbstring is recommended to be installed/enabled] forum discussion
 
[[Categoría:Entorno|php extension]]
 
[[en:admin/environment/php extension/mbstring]]
[[fr:admin/environment/php extension/mbstring]]

Revisión del 01:17 5 ene 2015

Nota: Pendiente de Traducir. ¡Anímese a traducir esta página!.     ( y otras páginas pendientes)

If you want to have mbstring work on a LAMP server with yum (Fedora, Redhat, Centos) or apt-get (Ubuntu, Debian) then do this

1) As root from the CLI yum install php-mbstring or in the apt-get case apt-get install php-mbstring

Then restart Apache

either /etc/init.d/httpd restart or possibly /etc/init.d/apache2 restart

Then check your server Environment again and the whinge from Moodle should have gone away and rewarded you with a nice tick or such-like.


To enable the mbstring library in Windows package installations of Moodle:

  1. Open the php.ini file found in the moodle/apache/bin folder or Windows folder
  2. Find the line: ;extension=php_mbstring.dll
  3. Remove the ; at the beginning of the line
  4. Restart apache if necessary

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

See also