mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
138 lines
3.9 KiB
XML
138 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: ae Status: ready --><!-- CREDITS: felipe,fabioluciano,ae -->
|
|
<section xml:id="apache.configuration" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.runtime;
|
|
<para>
|
|
O comportamento do módulo PHP sob o Apache é afetado pelas configurações
|
|
no &php.ini;. As diretivas de configuração no &php.ini; podem ser sobrescritas
|
|
por <link linkend="configuration.changes.apache">diretivas php_flag</link>
|
|
no arquivo de configuração do servidor ou por arquivos &htaccess; locais.
|
|
</para>
|
|
<example>
|
|
<title>Desligando a interpretação do PHP em um diretório utilizando &htaccess;</title>
|
|
<programlisting>php_flag engine off</programlisting>
|
|
</example>
|
|
<para>
|
|
<table>
|
|
<title>Opções de configuração do Apache</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>&Name;</entry>
|
|
<entry>&Default;</entry>
|
|
<entry>&Changeable;</entry>
|
|
<entry>&Changelog;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><link linkend="ini.engine">engine</link></entry>
|
|
<entry>"1"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.child-terminate">child_terminate</link></entry>
|
|
<entry>"0"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.last-modified">last_modified</link></entry>
|
|
<entry>"0"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.xbithack">xbithack</link></entry>
|
|
<entry>"0"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
&ini.php.constants;
|
|
</para>
|
|
|
|
&ini.descriptions.title;
|
|
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry xml:id="ini.engine">
|
|
<term>
|
|
<parameter>engine</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Liga ou desliga a interpretação do PHP.
|
|
Esta diretiva é útil somente para a módulo do Apache
|
|
do PHP. É utilizada por sites que desejam desligar e ligar a
|
|
interpretação do PHP em nível de diretórios ou servidores
|
|
virtuais. Colocando <userinput>engine off</userinput>
|
|
nos lugares apropriados do arquivo &httpd.conf;, o PHP pode
|
|
ser ativado ou desativado.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="ini.child-terminate">
|
|
<term>
|
|
<parameter>child_terminate</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Especifica se scripts PHP podem requisitar o término de processos filhos no final da
|
|
requisição, veja também <function>apache_child_terminate</function>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="ini.last-modified">
|
|
<term>
|
|
<parameter>last_modified</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Envia a data de modificação dos scripts PHP com cabeçalho Last-Modified: para esta requisição.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="ini.xbithack">
|
|
<term>
|
|
<parameter>xbithack</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Interpreta arquivos marcados como executável como PHP, indiferente da extensão.
|
|
</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
|
|
-->
|