Files
php-doc-ru/reference/apache/functions/apache-child-terminate.xml
Max Chaban 55d82237f6 Updated translation.
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@325392 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-21 10:02:19 +00:00

98 lines
3.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 84b8fca68fc762fefe85acde180a38b2e77a28b9 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.apache-child-terminate" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>apache_child_terminate</refname>
<refpurpose>Завершить процесс Apache по окончании текущего запроса</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>apache_child_terminate</methodname>
<void/>
</methodsynopsis>
<para>
<function>apache_child_terminate</function> регистрирует процесс Apache,
обслуживающий текущий запрос PHP с тем, чтобы завершить его по окончании
выполнения PHP скрипта. Эта функция может быть использована для
завершения процесса, для работы которого понадобилось значительное
количество оперативной памяти, не возвращенной операционной системе
по завершении работы PHP скрипта.
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Возвращает &true;, если PHP работает в качестве Apache 1 модуля, версия Apache не является
многопоточной и параметр конфигурации PHP
<link linkend="ini.child-terminate">child_terminate</link> включен (по умолчанию
выключен). В противном случае функция возвратит &false; и сгенерирует
ошибку уровня <constant>E_WARNING</constant>.
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>5.4.0</entry>
<entry>
Эта функция стала доступной в режиме FastCGI. Ранее она поддерживалась
только при запуске PHP в качестве модуля для Apache.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
&note.no-windows;
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>exit</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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
-->