mirror of
https://github.com/php/doc-es.git
synced 2026-03-29 10:52:21 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@334898 c90b9560-bf6c-de11-be94-00142212c4b1
235 lines
8.4 KiB
XML
235 lines
8.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: d976ef507bfa953098069f9c541e49b0529f7d16 Maintainer: seros Status: ready -->
|
|
<!-- Reviewed: yes Maintainer: seros -->
|
|
|
|
<section xml:id="mysqlnd-ms.configuration" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.runtime;
|
|
&extension.runtime;
|
|
<para>
|
|
<table>
|
|
<title>&ConfigureOptions; de mysqlnd_ms</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>&Name;</entry>
|
|
<entry>&Default;</entry>
|
|
<entry>&Changeable;</entry>
|
|
<entry>&Changelog;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody xml:id="mysqlnd-ms.configuration.list">
|
|
<row>
|
|
<entry><link linkend="ini.mysqlnd-ms.enable">mysqlnd_ms.enable</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.mysqlnd-ms.force-config-usage">mysqlnd_ms.force_config_usage</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.mysqlnd-ms.ini-file">mysqlnd_ms.ini_file</link></entry>
|
|
<entry>""</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.mysqlnd-ms.config-file">mysqlnd_ms.config_file</link></entry>
|
|
<entry>""</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.mysqlnd-ms.collect-statistics">mysqlnd_ms.collect_statistics</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.mysqlnd-ms.multi-master">mysqlnd_ms.multi_master</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.mysqlnd-ms.disable-rw-split">mysqlnd_ms.disable_rw_split</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
|
|
&ini.descriptions.title;
|
|
|
|
<para>
|
|
<variablelist>
|
|
|
|
<varlistentry xml:id="ini.mysqlnd-ms.enable">
|
|
<term>
|
|
<parameter>mysqlnd_ms.enable</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Habilita o deshabilita el complemento. Si se deshabilita, la extensión no
|
|
se conectará a
|
|
<link linkend="book.mysqlnd">mysqlnd</link> para delegar las
|
|
llamadas internas a la API en C <link linkend="book.mysqlnd">mysqlnd</link>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.mysqlnd-ms.force-config-usage">
|
|
<term>
|
|
<parameter>mysqlnd_ms.force_config_usage</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Si está habilitado, el complemento comprueba si el el valor del parámetro 'host' (servidor) de cualquier
|
|
intento de conexión MySQL coincide con un nombre de sección del fichero de configuración del
|
|
complemento. En caso contrario, el intento de conexión es bloqueado.
|
|
</para>
|
|
<para>
|
|
Este ajuste no es solamente útil para restringir PHP a ciertos servidores, sino también
|
|
para depurar problemas con el fichero de configuración. La validez de este se comprueba
|
|
en dos etapas diferentes. La primera comprobación se realiza cuando PHP comienza a
|
|
manejar una petición web. En este punto, el complemento lee y decodifica el fichero de
|
|
configuración. Los errores lanzados en esta primera etapa en el ciclo de vida de las extensiones podrían no
|
|
ser mostrados apropiadamente al usuario. Por tanto, el complemento almacena en búfer los errores, si los hubiera, y
|
|
los muestra además al establecer una conexión a MySQL.
|
|
Por omisión, un error de arranque almacenado en búfer emitira un error de tipo
|
|
<literal>E_WARNING</literal>. Si <literal>force_config_usage</literal> está habilitado,
|
|
el tipo de error usado es <literal>E_RECOVERABLE_ERROR</literal>.
|
|
</para>
|
|
<para>
|
|
Por favor, véanse también las <link linkend="mysqlnd-ms.plugin-ini-json.debug_config">notas
|
|
de depuración del fichero de configuración</link>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.mysqlnd-ms.ini-file">
|
|
<term>
|
|
<parameter>mysqlnd_ms.ini_file</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Fichero de configuración específico del complemento. Este ajuste ha sido
|
|
renombrado a <literal>mysqlnd_ms.config_file</literal> en la versión 1.4.0.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.mysqlnd-ms.config-file">
|
|
<term>
|
|
<parameter>mysqlnd_ms.config_file</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Fichero de configuración específico del complemento. Este ajuste reemplaza a
|
|
<literal>mysqlnd_ms.ini_file</literal> desde la versión 1.4.0.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.mysqlnd-ms.collect-statistics">
|
|
<term>
|
|
<parameter>mysqlnd_ms.collect_statistics</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Habilita o deshabilita la recopilación de estadísticas. La recopilación de
|
|
estadísticas está deshabilita por defecto por razones de rendimiento.
|
|
Las estadísticas son devueltas por la función
|
|
<function>mysqlnd_ms_get_stats</function>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.mysqlnd-ms.multi-master">
|
|
<term>
|
|
<parameter>mysqlnd_ms.multi_master</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Habilita o deshabilita el soporte de sistemas de replicación multimaestro.
|
|
Véanse también los <link linkend="mysqlnd-ms.supportedclusters">clústeres admintidos</link>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.mysqlnd-ms.disable-rw-split">
|
|
<term>
|
|
<parameter>mysqlnd_ms.disable_rw_split</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Habilita o deshabilita la división de lectura-escritura interna.
|
|
</para>
|
|
<para>
|
|
Controla si la funcionalidad de equilibrado de carga y de conexiones retardadas se pueden
|
|
usar independientemente de la división de lectura-escritura. Si la división de lectura-escritura
|
|
está deshabilitada, sólo los servidores de la lista de maestros serán usados para
|
|
la ejecución de sentencias. Todos los servidores esclavos configurados serán ignorados.
|
|
</para>
|
|
<para>
|
|
La sugerencia SQL <literal>MYSQLND_MS_USE_SLAVE</literal> no será reconocida.
|
|
Si se encuentra, la sentencia será redirigida al maestro.
|
|
</para>
|
|
<para>
|
|
La deshabilitación de la división de lectura-escritura impacta sobre el valor devuelto de
|
|
<function>mysqlnd_ms_query_is_select</function>.
|
|
La función ya no propondrá la ejecución de consultas en servidores esclavos.
|
|
</para>
|
|
<note>
|
|
<title>Múltiples servidores maestros</title>
|
|
<para>
|
|
Establecer <literal>mysqlnd_ms.multi_master=1</literal> permite al complemento
|
|
usar múltiples servidores maestros, en lugar de sólo el primer servidor maestro
|
|
de la lista de maestros.
|
|
</para>
|
|
<para>
|
|
Véanse también los <link linkend="mysqlnd-ms.supportedclusters">clústeres admitidos</link>.
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
</para>
|
|
</section>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|