Rasmus Lerdorf wrote:
On Tue, 26 Oct 2004, Wez Furlong wrote:

It should be safe to never ever dlclose() a module.


Do you mean never to dlclose() a module loaded via dl() at request time or
do you mean that in general it should be safe to never dlclose() a module
even if it came in via an extension line in the php.ini file?  The former
is likely a true statement, but the latter is definitely not.

-Rasmus

It's exactly how other languages deal with binary extensions, once loaded, never unload, even between requests. That approach would fix and greatly simplify dl for php (note I haven't looked at dl code in more than a year so I could be speaking out of my ass). The double pass that Apache could be handled by having php_apache avoid processing extensions on the first pass.


Shane

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



Reply via email to