Zend api doc II

From: Date: Mon, 03 Jul 2000 10:12:03 +0000
Subject: Zend api doc II
Groups: php.dev 
Request: Send a blank email to php-dev+get-23294@lists.php.net to get a copy of this message
Hi, Thanks for all previous answer. Some stupid questions again about INIT,SHUTDOWN et MINFO functions I build a fake ext call test with the script ext_skel. In the module, i have declare and add the GINIT and GSHUTDOW. In all INIT,SHUTDOWN and MINFO functions, i have added a piece of dirty code to try to understand what it's doing on : ----- FILE* fp; fp = fopen ("/tmp/minit","a+"); if ( fp != NULL) { fprintf (fp,"in MINIT\n"); <- or MSHUTDOWN, OR GINIT, OR RINIT, ... fclose (fp); } ------ The GINIT and MINIT it's always call 2 time. When i shutdown apache, just the MSHUTDOWN is called. My output file look like this : GINIT MINIT MSHUTDOWN GINIT MINIT This result is after the apache starting. MSHUTDOWN is added when i shutdown apache. 1) As i see in your answer (28-06-2000) - (Zend API doc again), it's normal that MINIT it's called twice, but why GSHUTDOWN never called. 2) There is no ouput in my file for RINIT and RSHUTDOWN. For these function, i have to write the ouput in other file (right trouble ?). I use the last 'official' release of php4 (4.0.1) without the lastest 'official patch, linux redhat 6.2 and apache 1.3.12-2. Thanks, Chesneau serge

« previous php.dev (#23294) next »