2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 06:30:45 +00:00
|
|
|
<!-- $Revision$ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- splitted from ./en/functions/apache.xml, last change in rev 1.20 -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.apache-child-terminate" xmlns="http://docbook.org/ns/docbook">
|
2005-04-01 22:55:18 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>apache_child_terminate</refname>
|
|
|
|
<refpurpose>Terminate apache process after this request</refpurpose>
|
|
|
|
</refnamediv>
|
2005-04-02 02:18:32 +00:00
|
|
|
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2005-04-01 22:55:18 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>bool</type><methodname>apache_child_terminate</methodname>
|
|
|
|
<void/>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
|
|
<function>apache_child_terminate</function> will register the
|
|
|
|
Apache process executing the current PHP request for termination
|
2008-03-10 09:15:39 +00:00
|
|
|
once execution of PHP code is completed. It may be used to
|
2005-04-01 22:55:18 +00:00
|
|
|
terminate a process after a script with high memory consumption has
|
|
|
|
been run as memory will usually only be freed internally but not
|
|
|
|
given back to the operating system.
|
|
|
|
</para>
|
2005-04-02 02:18:32 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
Returns &true; if PHP is running as an Apache 1 module, the Apache version
|
|
|
|
is non-multithreaded, and the
|
|
|
|
<link linkend="ini.child-terminate">child_terminate</link> PHP directive is
|
|
|
|
enabled (disabled by default). If these conditions are not met, &false; is
|
|
|
|
returned and an error of level <constant>E_WARNING</constant> is generated.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2011-06-30 12:32:00 +00:00
|
|
|
<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>
|
|
|
|
This function became available under FastCGI. Previously, it was
|
|
|
|
supported only when PHP was installed as an Apache module.
|
|
|
|
</entry>
|
|
|
|
</row>
|
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
|
|
|
</informaltable>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2005-04-02 02:18:32 +00:00
|
|
|
<refsect1 role="notes">
|
|
|
|
&reftitle.notes;
|
2005-04-01 22:55:18 +00:00
|
|
|
¬e.no-windows;
|
2005-04-02 02:18:32 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
2005-04-01 22:55:18 +00:00
|
|
|
<para>
|
2005-04-02 02:18:32 +00:00
|
|
|
<simplelist>
|
2012-04-15 21:45:34 +00:00
|
|
|
<member><function>exit</function></member>
|
2005-04-02 02:18:32 +00:00
|
|
|
</simplelist>
|
2005-04-01 22:55:18 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
2002-04-15 00:12:54 +00:00
|
|
|
|
|
|
|
<!-- 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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-04-15 00:12:54 +00:00
|
|
|
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
|
|
|
|
-->
|