RE: [PHP-DEV] Could some kind soul review these patches please. From: Sascha Schumann (sascha <email protected>)
Date: 12/07/00

> Good point.
> Do you think it should be a configure-time option as with:
> --enable-apache-child-terminate
>
> or a php runtime configuration option.
> Perhaps with disable_functions, or maybe on a per <vhost, per <location, per
> <files basis?
> so that various webs, web parts or files may have this capability.
>
> I think I prefer both;
>
> If it seems agreeable I will extend the patch to be enabled with
> --enable-apache-child-terminate and to have the various configuration
> capabilities which will be a good learning er... experience.. for me.

    You just need to add a PHP_INI_ENTRY in php_apache.c and a
    new property to the php_apache_info_struct in mod_php4.h.
    Your function can then query the property to determine
    whether it should do what it is supposed to do.

    - Sascha

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>