Ok I understood the PHP_MSHUTDOWN_FUNCTION now. But one more doubt is : When we restart apache does apache unload and reload the extension module? What happens if the extension module is linked with another library. Thanks Ashish
Derick Rethans <[EMAIL PROTECTED]> wrote: On Mon, 8 Mar 2004, ashish b\ wrote: > Here I can see PHP_MSHUTDOWN_FUNCTION before entering the myfunction > and also after the myfunction.This should not be happening. > PHP_MSHUTDOWN_FUNCTION should be called only if I shut down apache > server? No, reread my mail: > It's not called at the beginning of a *request* but it is called when > apache starts up. Apache first initializes every module, then > deinitializes it and then initializes it again which result in MINIT, > MSHUTDOWN and MINIT being called. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php --------------------------------- Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster.