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/
***************************************************
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php