svn: /phpdoc/bg/trunk/reference/session/ ini.xml
[email protected] (Stanislav Yordanov) Sat, 12 Dec 2015 17:19:35 +0000
| Newsgroups | php.doc.bg |
|---|---|
| Message-ID | <[email protected]> |
stanprog Sat, 12 Dec 2015 17:19:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338245
Log:
sync to en: 337501
Changed paths:
U phpdoc/bg/trunk/reference/session/ini.xml
svn-diffs-338245.txt
(text/x-diff, 15.6 KB)
Modified: phpdoc/bg/trunk/reference/session/ini.xml
===================================================================
--- phpdoc/bg/trunk/reference/session/ini.xml 2015-12-12 16:59:01 UTC (rev 338244)
+++ phpdoc/bg/trunk/reference/session/ini.xml 2015-12-12 17:19:35 UTC (rev 338245)
@@ -1,187 +1,187 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: Maintainer: stanprog Status: ready -->
-<!-- Reviewed: no Maintainer: stanprog -->
+<!-- EN-Revision: 337501 Maintainer: stanprog Status: ready -->
+<!-- Reviewed: yes Maintainer: stanprog -->
<!-- CREDITS: pemitev -->
<section xml:id="session.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
- <table>
- <title>Настройки на сесия</title>
- <tgroup cols="4">
- <thead>
+ <table>
+ <title>Настройки на сесия</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.session.save-path">session.save_path</link></entry>
+ <entry>""</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.name">session.name</link></entry>
+ <entry>"PHPSESSID"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.save-handler">session.save_handler</link></entry>
+ <entry>"files"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.auto-start">session.auto_start</link></entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_PERDIR</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.gc-probability">session.gc_probability</link></entry>
+ <entry>"1"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.gc-divisor">session.gc_divisor</link></entry>
+ <entry>"100"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 4.3.2.</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.gc-maxlifetime">session.gc_maxlifetime</link></entry>
+ <entry>"1440"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.serialize-handler">session.serialize_handler</link></entry>
+ <entry>"php"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.cookie-lifetime">session.cookie_lifetime</link></entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.cookie-path">session.cookie_path</link></entry>
+ <entry>"/"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.cookie-domain">session.cookie_domain</link></entry>
+ <entry>""</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.cookie-secure">session.cookie_secure</link></entry>
+ <entry>""</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 4.0.4.</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.cookie-httponly">session.cookie_httponly</link></entry>
+ <entry>""</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 5.2.0.</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.use-strict-mode">session.use_strict_mode</link></entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 5.5.2.</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.use-cookies">session.use_cookies</link></entry>
+ <entry>"1"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.use-only-cookies">session.use_only_cookies</link></entry>
+ <entry>"1"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 4.3.0.</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.referer-check">session.referer_check</link></entry>
+ <entry>""</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.entropy-file">session.entropy_file</link></entry>
+ <entry>""</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.entropy-length">session.entropy_length</link></entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.cache-limiter">session.cache_limiter</link></entry>
+ <entry>"nocache"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.cache-expire">session.cache_expire</link></entry>
+ <entry>"180"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.use-trans-sid">session.use_trans_sid</link></entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>PHP_INI_ALL в PHP <= 4.2.3. PHP_INI_PERDIR в PHP < 5. Достъпна от PHP 4.0.3.</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.bug-compat-42">session.bug_compat_42</link></entry>
+ <entry>"1"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 4.3.0. Премахната в PHP 5.4.0.</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.bug-compat-warn">session.bug_compat_warn</link></entry>
+ <entry>"1"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 4.3.0. Премахната в PHP 5.4.0.</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.hash-function">session.hash_function</link></entry>
+ <entry>"0"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 5.0.0.</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.session.hash-bits-per-character">session.hash_bits_per_character</link></entry>
+ <entry>"4"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 5.0.0.</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.url-rewriter.tags">url_rewriter.tags</link></entry>
+ <entry>"a=href,area=href,frame=src,form=,fieldset="</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 4.0.4.</entry>
+ </row>
<row>
- <entry>&Name;</entry>
- <entry>&Default;</entry>
- <entry>&Changeable;</entry>
- <entry>&Changelog;</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry><link linkend="ini.session.save-path">session.save_path</link></entry>
- <entry>""</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.name">session.name</link></entry>
- <entry>"PHPSESSID"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.save-handler">session.save_handler</link></entry>
- <entry>"files"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.auto-start">session.auto_start</link></entry>
- <entry>"0"</entry>
- <entry>PHP_INI_PERDIR</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.gc-probability">session.gc_probability</link></entry>
- <entry>"1"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.gc-divisor">session.gc_divisor</link></entry>
- <entry>"100"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>Достъпна от PHP 4.3.2.</entry>
- </row>
- <row>
- <entry><link linkend="ini.session.gc-maxlifetime">session.gc_maxlifetime</link></entry>
- <entry>"1440"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.serialize-handler">session.serialize_handler</link></entry>
- <entry>"php"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.cookie-lifetime">session.cookie_lifetime</link></entry>
- <entry>"0"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.cookie-path">session.cookie_path</link></entry>
- <entry>"/"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.cookie-domain">session.cookie_domain</link></entry>
- <entry>""</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.cookie-secure">session.cookie_secure</link></entry>
- <entry>""</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>Достъпна от PHP 4.0.4.</entry>
- </row>
- <row>
- <entry><link linkend="ini.session.cookie-httponly">session.cookie_httponly</link></entry>
- <entry>""</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>Достъпна от PHP 5.2.0.</entry>
- </row>
- <row>
- <entry><link linkend="ini.session.use-strict-mode">session.use_strict_mode</link></entry>
- <entry>"0"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>Достъпна от PHP 5.5.2.</entry>
- </row>
- <row>
- <entry><link linkend="ini.session.use-cookies">session.use_cookies</link></entry>
- <entry>"1"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.use-only-cookies">session.use_only_cookies</link></entry>
- <entry>"1"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>Достъпна от PHP 4.3.0.</entry>
- </row>
- <row>
- <entry><link linkend="ini.session.referer-check">session.referer_check</link></entry>
- <entry>""</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.entropy-file">session.entropy_file</link></entry>
- <entry>""</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.entropy-length">session.entropy_length</link></entry>
- <entry>"0"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.cache-limiter">session.cache_limiter</link></entry>
- <entry>"nocache"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.cache-expire">session.cache_expire</link></entry>
- <entry>"180"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry></entry>
- </row>
- <row>
- <entry><link linkend="ini.session.use-trans-sid">session.use_trans_sid</link></entry>
- <entry>"0"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>PHP_INI_ALL в PHP <= 4.2.3. PHP_INI_PERDIR в PHP < 5. Достъпна от PHP 4.0.3.</entry>
- </row>
- <row>
- <entry><link linkend="ini.session.bug-compat-42">session.bug_compat_42</link></entry>
- <entry>"1"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>Достъпна от PHP 4.3.0. Премахната в PHP 5.4.0.</entry>
- </row>
- <row>
- <entry><link linkend="ini.session.bug-compat-warn">session.bug_compat_warn</link></entry>
- <entry>"1"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>Достъпна от PHP 4.3.0. Премахната в PHP 5.4.0.</entry>
- </row>
- <row>
- <entry><link linkend="ini.session.hash-function">session.hash_function</link></entry>
- <entry>"0"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>Достъпна от PHP 5.0.0.</entry>
- </row>
- <row>
- <entry><link linkend="ini.session.hash-bits-per-character">session.hash_bits_per_character</link></entry>
- <entry>"4"</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>Достъпна от PHP 5.0.0.</entry>
- </row>
- <row>
- <entry><link linkend="ini.url-rewriter.tags">url_rewriter.tags</link></entry>
- <entry>"a=href,area=href,frame=src,form=,fieldset="</entry>
- <entry>PHP_INI_ALL</entry>
- <entry>Достъпна от PHP 4.0.4.</entry>
- </row>
- <row>
<entry><link linkend="ini.session.upload-progress.enabled">session.upload_progress.enabled</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_PERDIR</entry>
@@ -216,17 +216,23 @@
<entry>"1"</entry>
<entry>PHP_INI_PERDIR</entry>
<entry>Достъпна от PHP 5.4.0.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- &ini.php.constants;
+ </row>
+ <row>
+ <entry><link linkend="ini.session.lazy-write">session.lazy_write</link></entry>
+ <entry>"1"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Достъпна от PHP 7.0.0.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ &ini.php.constants;
</para>
<para>
Системата за управление на сесиите поддържа няколко конфигурационни опции, които
може да настроите в &php.ini; файла.
Нека направим кратко резюме.
- <variablelist>
+ <variablelist>
<varlistentry xml:id="ini.session.save-handler">
<term>
@@ -531,8 +537,7 @@
<simpara>
<literal>session.use_cookies</literal> определя дали модула
ще използва бисквитки, за да съхранява сесийния идентификатор
- от страната на клиента.
- Стойността по подразбиране е <literal>1</literal> (включена) от PHP 6.0.
+ от страната на клиента. Стойността по подразбиране е <literal>1</literal> (включена).
</simpara>
</listitem>
</varlistentry>
@@ -841,7 +846,7 @@
</term>
<listitem>
<simpara>
- Преставката за ключа на стойност за прогреса на качване в <varname>$_SESSION</varname>.
+ Представката за ключа на стойност за прогреса на качване в <varname>$_SESSION</varname>.
Ключът ще бъде слепен със стойността на
<literal>$_POST[ini_get("session.upload_progress.name")]</literal> за
да се гарантира уникален индекс.
@@ -901,7 +906,20 @@
</simpara>
</listitem>
</varlistentry>
-
+
+ <varlistentry xml:id="ini.session.lazy-write">
+ <term>
+ <parameter>session.lazy_write</parameter>
+ <type>boolean</type>
+ </term>
+ <listitem>
+ <simpara>
+ Когато <literal>session.lazy_write</literal> има стойност 1, данните на сесията
+ се презаписват само, ако са променени. Стойност по подразбиране: "1" (включена).
+ </simpara>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</para>