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/
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/