mirror of
https://github.com/php/doc-it.git
synced 2026-03-24 07:32:12 +01:00
138 lines
3.9 KiB
XML
138 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: d4d5216e7a965ca194f6b1c9dee84cecab2674e5 Maintainer: cucinato Status: ready -->
|
|
<section xml:id="apache.configuration" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.runtime;
|
|
<para>
|
|
Il comportamento del modulo Apache per PHP è influenzato dalle impostazioni in &php.ini;.
|
|
Le impostazioni di configurazione del &php.ini; possono essere scavalcate
|
|
attraverso le impostazioni <link linkend="configuration.changes.apache">php_flag</link>
|
|
nel file di configurazione del server o nei file &htaccess; locali.
|
|
</para>
|
|
<example>
|
|
<title>disabilitazione dell'interprete PHP in una directory mediante &htaccess;</title>
|
|
<programlisting>php_flag engine off</programlisting>
|
|
</example>
|
|
<para>
|
|
<table>
|
|
<title>Opzioni di configurazione di 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>
|
|
Spegne o accende l'inteprete PHP.
|
|
Questa direttiva è utile solo nella versione di PHP compilata come
|
|
modulo di Apache. Viene usata dai siti che vogliono spegnere
|
|
e accendere il parsing PHP in base alla directory o al virtual server
|
|
corrente. Inserendo <userinput>engine off</userinput>
|
|
nel posto appropriato nel file &httpd.conf;, il PHP può
|
|
essere abilitato o disabilitato.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="ini.child-terminate">
|
|
<term>
|
|
<parameter>child_terminate</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Decide se gli script PHP possono richiedere la terminazione dei processi figli alla fine della richiesta HTTP,
|
|
vedere anche <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>
|
|
Manda la data di modifica degli script nell'header Last-Modified:.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="ini.xbithack">
|
|
<term>
|
|
<parameter>xbithack</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Interpreta i file con il bit di esecuzione impostato, a prescindere dalla loro estensione.
|
|
</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
|
|
-->
|