Re: [PHP-DEV] Module startup/shutdown in PHP extensions

2002-07-19 Thread Jon Parise
On Fri, Jul 19, 2002 at 07:42:41AM +0200, David Eriksson wrote: > > Now the problem is when I start apache (net start apache) php seems to call > > the module startup function and then it calls the module shutdown function > > immediately afterwards. The request startup and shutdown functions se

Re: [PHP-DEV] Module startup/shutdown in PHP extensions

2002-07-18 Thread David Eriksson
On Thu, 18 Jul 2002, Pete Dishman wrote: [snip] > Now the problem is when I start apache (net start apache) php seems to call > the module startup function and then it calls the module shutdown function > immediately afterwards. The request startup and shutdown functions seem to > work as expec

[PHP-DEV] Module startup/shutdown in PHP extensions

2002-07-18 Thread Pete Dishman
Hi, I've just started creating my own PHP extension and am having some trouble understanding the ZEND_MODULE_STARTUP and ZEND_MODULE_SHUTDOWN functions. my zend_module_entry is as follows: zend_module_entry tpphp_module_entry = { STANDARD_MODULE_HEADER, "tpphp", tpphp_functions, ZEND_MODULE