Ok! My last postings were about the lack of global init/shutdown functions. Derick was kind enough to tell me, that these were deprecated and that I should use MINIT for my initalisations. Well.. this was what I had been doing until it just didn't seem adequate for my needs. I decided to give it another go but my attempts have given rise to some issues I need explained.
As I'm compiling my modules into php I understand and have verified that MINIT is called whenever I start apache. (and MSHUTDOWN when I stop apache) RINIT/RSHUTDOWN continue to baffle me though. Why do RINIT get called when I start apache? (after MINIT). Shouldn't that happen only if I had compiled my extension as a dynamic extension, that required dl'ing? In fact RINIT/RSHUTDOWN only gets called once (when starting/stopping apache). As I read the documentation RINIT should be called whenever I direct my browser to a page which requires php, and RSHUTDOWN when that request has ended. Am I getting this all backwards? TIA Thomas -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php