FAQ
Hi guys,

I'm sure when FPM should call extensions MINIT and MSHUTDOWN functions.

MINIT is called once by the master process after it forks any
children. It's done by calling php_module_startup() in
cgi_sapi_module.startup().
MSHUTDOWN is also called by the master process before exiting and
after it kills all its children. It's done by calling
php_module_shutdown_wrapper();

Is it normal behaviour ? Or should MINIT and MSHUTDOWN be also called
in each child process somehow ?

Thanks
++ Jerome

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupphp-internals @
categoriesphp
postedNov 11, '10 at 12:01a
activeNov 11, '10 at 10:11p
posts2
users2
websitephp.net

People

Translate

site design / logo © 2022 Grokbase