Re: Module init not called when loaded by dl from CLI?

From: Date: Fri, 23 Mar 2007 01:06:13 +0000
Subject: Re: Module init not called when loaded by dl from CLI?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-28561@lists.php.net to get a copy of this message
On Thu, 22 Mar 2007 20:02:53 -0400 Michael B Allen <mba2000@ioplex.com> wrote: > 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. Nevermind. I got my modules mixed up. Mike -- Michael B Allen PHP Active Directory Kerberos SSO http://www.ioplex.com/

« previous php.internals (#28561) next »