mirror of
https://github.com/php/doc-es.git
synced 2026-03-24 07:22:16 +01:00
124 lines
3.2 KiB
XML
124 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: d4d5216e7a965ca194f6b1c9dee84cecab2674e5 Maintainer: andresdzphp Status: ready -->
|
|
<!-- Reviewed: yes Maintainer: julionc -->
|
|
|
|
<section xml:id="ini.sections" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>Lista de secciones de &php.ini;</title>
|
|
<para>
|
|
Esta lista incluye las secciones de &php.ini; que se pueden establecer para configurar
|
|
los ajustes de PHP según cada servidor o ruta. Estas secciones son opcionales.
|
|
</para>
|
|
<para>
|
|
Estas secciones no afectan directamente a PHP. Se utilizan para agrupar
|
|
otras directivas de &php.ini; y hacerlas funcionar para un servidor
|
|
o ruta determinados.
|
|
</para>
|
|
<para>
|
|
Estas secciones solo se utilizan en modo CGI/FastCGI y no pueden configurar
|
|
directivas de <link linkend="ini.extension">extensión</link> ni de <link
|
|
linkend="ini.zend-extension">zend_extension</link>.
|
|
</para>
|
|
<para>
|
|
<table>
|
|
<title>Secciones</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>&Name;</entry>
|
|
<entry>&Changeable;</entry>
|
|
<entry>&Changelog;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><link linkend="ini.per-host">[HOST=]</link></entry>
|
|
<entry><constant>INI_SYSTEM</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.per-path">[PATH=]</link></entry>
|
|
<entry><constant>INI_SYSTEM</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
|
|
&ini.descriptions.title;
|
|
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry xml:id="ini.per-host">
|
|
<term>
|
|
<parameter>[HOST=<host>]</parameter>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Esta sección permite definir un conjunto de directivas de &php.ini; que
|
|
afectarán solamente al servidor designado.
|
|
</para>
|
|
<para>
|
|
<example>
|
|
<title>Activar la notificación completa de errores por pantalla para el dominio dev.</title>
|
|
<programlisting role="php.ini">
|
|
<![CDATA[
|
|
[HOST=dev.site.com]
|
|
error_reporting = E_ALL
|
|
display_errors = On
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.per-path">
|
|
<term>
|
|
<parameter>[PATH=<path>]</parameter>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Esta sección permite definir un conjunto de directivas de &php.ini; que
|
|
tomarán efecto al ejecutar un script en la ruta designada.
|
|
</para>
|
|
<para>
|
|
<example>
|
|
<title>Añadir un script de seguridad para aréas protegidas</title>
|
|
<programlisting role="php.ini">
|
|
<![CDATA[
|
|
[PATH=/home/site/public/secure]
|
|
auto_prepend_file=security.php
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</para>
|
|
</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
|
|
-->
|