mirror of
https://github.com/php/doc-it.git
synced 2026-03-26 16:42:06 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@129809 c90b9560-bf6c-de11-be94-00142212c4b1
105 lines
2.9 KiB
XML
105 lines
2.9 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready -->
|
|
<section id="apache.configuration">
|
|
&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 php_flag
|
|
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="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Nome</entry>
|
|
<entry>Default</entry>
|
|
<entry>Modificabile</entry>
|
|
<entry>Funzione</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>engine</entry>
|
|
<entry>On</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry>accende o spegne l'interprete PHP</entry>
|
|
</row>
|
|
<row>
|
|
<entry>child_terminate</entry>
|
|
<entry>Off</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry>
|
|
decide se gli script PHP possono richiedere la terminazione dei processi figli alla fine della richiesta HTTP,
|
|
vedere anche <function>apache_child_terminate</function>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>last_modified</entry>
|
|
<entry>Off</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry>manda la data di modifica degli script nell'header Last-Modified:</entry>
|
|
</row>
|
|
<row>
|
|
<entry>xbithack</entry>
|
|
<entry>Off</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry>interpreta i file con il bit di esecuzione impostato, a prescindere dalla loro estensione</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
|
|
&ini.descriptions.title;
|
|
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry id="ini.engine">
|
|
<term>
|
|
<parameter>engine</parameter>
|
|
<type>boolean</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
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>
|
|
</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:"../../../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
|
|
-->
|
|
|
|
|