Could you explain the use case for this?  Just for my own curiosity, I am sure 
you have a valid reason for it.  

I have always found that only bad things happen when you let 
extensions/modules/shared libs stay loaded during the double load of apache.

Thanks!

Brian


On Mar 6, 2012, at 6:19 AM, Derick Rethans wrote:

> On Tue, 6 Mar 2012, Johannes Schlüter wrote:
> 
>> just a quick note on 5.3.11 planning:
>> 
>> We will migrate to git in roughly one week. I'll give it a few days to
>> verify migration works fine afterwards and then start the 5.3.11
>> process. Best is to get outstanding fixes in early. ;-)
> 
> I'd like to get my simple ZEND_DONT_UNLOAD_MODULES patch in:
> 
> Index: Zend/zend_API.c
> ===================================================================
> --- Zend/zend_API.c   (revision 322920)
> +++ Zend/zend_API.c   (working copy)
> @@ -2134,7 +2134,7 @@
> 
> #if HAVE_LIBDL
> #if !(defined(NETWARE) && defined(APACHE_1_BUILD))
> -     if (module->handle) {
> +     if (module->handle && !getenv("ZEND_DONT_UNLOAD_MODULES")) {
>               DL_UNLOAD(module->handle);
>       }
> #endif
> 
> cheers,
> Derick
> 
> -- 
> http://derickrethans.nl | http://xdebug.org
> Like Xdebug? Consider a donation: http://xdebug.org/donate.php
> twitter: @derickr and @xdebug
> -- 
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to