On Fri, Nov 23, 2001 at 11:01:03AM -0000, Sam Liddicott wrote : 
> To solve THIS problem I added ap_child_terminate support to php so you could
> request apache to terminate after the page, though this seems to have been
> dropped in later releases.
> The patch was accepted and did appear in at least one release, I don't know
> why it went.

    I found this in php4/sapi/apache/php_apache.c :

/* {{{ proto string child_terminate()
   Get and set Apache request notes */
PHP_FUNCTION(apache_child_terminate)
{
#ifndef MULTITHREAD
    if (AP(terminate_child)) {
        ap_child_terminate( ((request_rec *)SG(server_context))
);
    } else { /* tell them to get lost! */
        php_error(E_WARNING, "apache.child_terminate is
disabled");
    }
#else
        php_error(E_WARNING, "apache_child_terminate() is not
supported in this build");
#endif
}
/* }}} */

    However, it doesn't seem to be documented (couldn't find it
    in the manual). But yes, not really relevant because you're
    using a system script.

    - Markus

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to