cvs: phpdoc-it /reference/apache ini.xml
| From: | Marco Cucinato | Date: | Tue, 10 Dec 2002 00:35:07 +0000 |
| Subject: | cvs: phpdoc-it /reference/apache ini.xml | ||
| Groups: | php.doc.it | ||
| Request: | Send a blank email to doc-it+get-169@lists.php.net to get a copy of this message | ||
cucinato Mon Dec 9 19:35:07 2002 EDT
Added files:
/phpdoc-it/reference/apache ini.xml
Log:
First revision
Index: phpdoc-it/reference/apache/ini.xml
+++ phpdoc-it/reference/apache/ini.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- EN-Revision: 1.1 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 <filename>.htaccess</filename> locali.
</para>
<example>
<title>disabilitazione dell'interprete PHP in una directory mediante
<filename>.htaccess</filename></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>xbit_hack</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>
<para>
Ecco una descrizione veloce delle direttive di configurazione.
<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
<filename>httpd.conf</filename>, 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
-->