mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
122 lines
3.3 KiB
XML
122 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: a0ae28d3bc85f927c22649ebd9a590b921534b7d Maintainer: ae Status: ready --><!-- CREDITS: marcelomx,arthuralmeidap,anineto,ae -->
|
|
|
|
<section xml:id="ini.sections" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>Lista das seções do &php.ini;</title>
|
|
<para>
|
|
Esta lista inclui as seções do &php.ini; que podem ser modificadas para configurar a
|
|
instalação do PHP baseado em host ou em pastas. Estas seções são opcionais.
|
|
</para>
|
|
<para>
|
|
Estas seções não afetam diretamente o PHP. Elas são usadas para agrupar outras
|
|
diretivas do &php.ini; e agir de acordo um host específico ou uma
|
|
pasta específica.
|
|
</para>
|
|
<para>
|
|
Estas seções são usadas somente no modo CGI/FastCGI e não podem modificar as diretivas
|
|
<link linkend="ini.extension">extension</link> e <link
|
|
linkend="ini.zend-extension">zend_extension</link>.
|
|
</para>
|
|
<para>
|
|
<table>
|
|
<title>Seções</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 seção permite definir um conjunto de diretivas do &php.ini; que
|
|
terá efeito no host definido.
|
|
</para>
|
|
<para>
|
|
<example>
|
|
<title>Ativa a exibição completa de erros na tela para o domínio 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 seção permite definir um conjunto de diretivas do &php.ini; que terá
|
|
efeito quando um script for executado a partir da pasta definida.
|
|
</para>
|
|
<para>
|
|
<example>
|
|
<title>Adiciona o script security.php para áreas 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
|
|
-->
|