RE: [PHP-DEV] Could some kind soul review these patches please.
| From: | Sascha Schumann | Date: | Thu, 07 Dec 2000 11:24:15 +0000 |
| Subject: | RE: [PHP-DEV] Could some kind soul review these patches please. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40359@lists.php.net to get a copy of this message | ||
> 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