From ec445371fedf89bb09059a6b8c2abe209c2b8bcf Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Tue, 23 Apr 2002 11:47:14 +0000 Subject: [PATCH] fixed proto according to source changes, added notes about multithreded environments and apache.child_terminate settings and made it a bit more clear that calling apache_child_terminate doesn't terminate the script right away but kills the process only after PHP execution has finally finished git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79582 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/apache-child-terminate.xml | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/reference/apache/functions/apache-child-terminate.xml b/reference/apache/functions/apache-child-terminate.xml index 4fdfb66d49..4e63a72c09 100644 --- a/reference/apache/functions/apache-child-terminate.xml +++ b/reference/apache/functions/apache-child-terminate.xml @@ -1,5 +1,4 @@ - @@ -9,16 +8,28 @@ Description - stringapache_child_terminate + boolapache_child_terminate - apache_child_terminate will terminate the Apache - process executing the current PHP request once it is completed. It may be - used to terminate a process after a script with high memory consumption - has been run as memory will usually only be freed internally but not + apache_child_terminate will register the + Apache process executing the current PHP request for termination + once execution of PHP code it is completed. It may be used to + 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. + + + The availability of this feature is controlled by the &php.ini; directive + , which is set to off + by default. + + + This feature is also not available on multithreaded versions of apache + like the win32 version. + + See also exit.