Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28561 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77680 invoked by uid 1010); 23 Mar 2007 01:06:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 77665 invoked from network); 23 Mar 2007 01:06:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2007 01:06:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=mba2000@ioplex.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mba2000@ioplex.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ioplex.com from 66.220.1.142 cause and error) X-PHP-List-Original-Sender: mba2000@ioplex.com X-Host-Fingerprint: 66.220.1.142 www.ioplex.com Linux 2.4/2.6 Received: from [66.220.1.142] ([66.220.1.142:3171] helo=www.ioplex.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/F8-06941-B0823064 for ; Thu, 22 Mar 2007 20:06:20 -0500 Received: from quark.foo.net (c-69-142-196-170.hsd1.nj.comcast.net [69.142.196.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by www.ioplex.com (Postfix) with ESMTP id 7FBE342B90; Thu, 22 Mar 2007 21:06:16 -0400 (EDT) Date: Thu, 22 Mar 2007 21:06:13 -0400 To: Michael B Allen Cc: internals@lists.php.net Message-ID: <20070322210613.26089d85.mba2000@ioplex.com> In-Reply-To: <20070322200253.37d14e9e.mba2000@ioplex.com> References: <20070322200253.37d14e9e.mba2000@ioplex.com> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Module init not called when loaded by dl from CLI? From: mba2000@ioplex.com (Michael B Allen) On Thu, 22 Mar 2007 20:02:53 -0400 Michael B Allen 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/