Module init not called when loaded by dl from CLI?

From: Date: Fri, 23 Mar 2007 00:02:53 +0000
Subject: Module init not called when loaded by dl from CLI?
Groups: php.internals 
Request: Send a blank email to internals+get-28560@lists.php.net to get a copy of this message
I'm seeing that PHP_MINIT_FUNCTION does not get called if it's loaded with dl from a CLI script. Anyone else seeing that? If I add two lines to write a file like: PHP_MINIT_FUNCTION(plexcel) { FILE *out = fopen("/tmp/plexcel.log", "a"); fprintf(out, "module initializing ...\n"); fflush(out); The file is never created. Is there something fundamentally new about doing extensions in 5.2? Mike -- Michael B Allen PHP Active Directory Kerberos SSO http://www.ioplex.com/

« previous php.internals (#28560) next »