STANDARD_MODULE_PROPERTIES_EX?

From: Date: Thu, 25 Jul 2002 16:06:54 +0000
Subject: STANDARD_MODULE_PROPERTIES_EX?
Groups: php.dev 
Request: Send a blank email to php-dev+get-86193@lists.php.net to get a copy of this message
Hi, We are trying to update a PHP extension we wrote a while back. We have decided that we need to use the global startup/shutdown functions e.g. use STANDARD_MODULE_PROPERTIES_EX instead of STANDARD_MODULE_PROPERTIES I have changed my code from the following: ------------ zend_module_entry mymodule_module_entry = { ..., PHP_MINFO(mymodule), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES }; ------------ to this ------------ zend_module_entry mymodule_module_entry = { ..., PHP_MINFO(mymodule), NO_VERSION_YET, zm_mymodule_global_startup, zm_mymodule_global_shutdown, STANDARD_MODULE_PROPERTIES_EX }; ------------ and defined 2 functions as like so ------------ int zm_mymodule_global_startup(); int zm_mymodule_global_shutdown(); ------------ Everything compiles but my new functions are not call, why, am I doing something wrong? Thanks for any help Tom -- *************************************************** Tom Oram SCL Computer Services URL http://www.scl.co.uk/ ***************************************************

« previous php.dev (#86193) next »