mirror of
https://github.com/php/doc-it.git
synced 2026-03-24 07:32:12 +01:00
201 lines
5.7 KiB
XML
201 lines
5.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: d4d5216e7a965ca194f6b1c9dee84cecab2674e5 Maintainer: pastore Status: ready -->
|
|
<!-- CREDITS: cucinato -->
|
|
<section xml:id="filesystem.configuration" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.runtime;
|
|
&extension.runtime;
|
|
<para>
|
|
<table>
|
|
<title>Opzioni di configurazione per Filesystem e Streams</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.allow-url-fopen">allow_url_fopen</link></entry>
|
|
<entry>"1"</entry>
|
|
<entry><constant>INI_SYSTEM</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.allow-url-include">allow_url_include</link></entry>
|
|
<entry>"0"</entry>
|
|
<entry><constant>INI_SYSTEM</constant></entry>
|
|
<entry>Deprecato da PHP 7.4.0.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.user-agent">user_agent</link></entry>
|
|
<entry>NULL</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.default-socket-timeout">default_socket_timeout</link></entry>
|
|
<entry>"60"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.from">from</link></entry>
|
|
<entry>""</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.auto-detect-line-endings">auto_detect_line_endings</link></entry>
|
|
<entry>"0"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Deprecato a partire da PHP 8.1.0.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.sys-temp-dir">sys_temp_dir</link></entry>
|
|
<entry>""</entry>
|
|
<entry><constant>INI_SYSTEM</constant></entry>
|
|
<entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
|
|
&ini.descriptions.title;
|
|
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry xml:id="ini.allow-url-fopen">
|
|
<term>
|
|
<parameter>allow_url_fopen</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Questa opzione abilita i wrapper URL per fopen, in modo da potere accedere
|
|
ad oggetti URL come file. Per default sono forniti wrapper
|
|
per accedere a <link linkend="features.remote-files">file remoti</link>
|
|
usando il protocollo ftp o http, alcune estensioni, tipo
|
|
<link linkend="ref.zlib">zlib</link>, possono registrarne
|
|
altri.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.allow-url-include">
|
|
<term>
|
|
<parameter>allow_url_include</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Questa opzione permette l'uso di URL e wrapper fopen con le seguenti
|
|
funzioni: <function>include</function>, <function>include_once</function>,
|
|
<function>require</function>, <function>require_once</function>.
|
|
</para>
|
|
<note>
|
|
<para>
|
|
Questo parametro richiede che allow_url_fopen sia "on".
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.user-agent">
|
|
<term>
|
|
<parameter>user_agent</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Definisce l'user agent inviato da PHP.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.default-socket-timeout">
|
|
<term>
|
|
<parameter>default_socket_timeout</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Timeout di default (in secondi) per gli stream socket.
|
|
Un valore negativo indica un timeout infinito.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.from">
|
|
<term>
|
|
<parameter>from</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
L'indirizzo email da utilizzare per le connessioni FTP non autenticate e
|
|
come valore dell'intestazione From per le connessioni HTTP, quando si utilizza il wrapper
|
|
ftp e http, rispettivamente.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.auto-detect-line-endings">
|
|
<term>
|
|
<parameter>auto_detect_line_endings</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Quando è attivato, il PHP esamina i dati letti da
|
|
<function>fgets</function> e <function>file</function> per vedere se si stanno
|
|
utilizzando le convenzioni di Unix, MS-Dos o Macintosh.
|
|
</para>
|
|
<para>Questo permette al PHP di operare con sistemi Macintosh,
|
|
ma, per default, l'opzione è impostata a Off, poiché vi è una piccola
|
|
penalizzazione di velocità nel cercare di individuare il tipo di EOL per la prima riga; e anche
|
|
perché in alcuni casi si è sperimentato che l'utilizzo del carriage-returns come separatore nei sistemi
|
|
Unix ha generato comportamenti non compatibili con il passato.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.sys-temp-dir">
|
|
<term>
|
|
<parameter>sys_temp_dir</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
</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
|
|
-->
|