Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37785 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88637 invoked from network); 21 May 2008 21:45:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 May 2008 21:45:14 -0000 Authentication-Results: pb1.pair.com header.from=ioplex@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=ioplex@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.170.191 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ioplex@gmail.com X-Host-Fingerprint: 64.233.170.191 rn-out-0910.google.com Received: from [64.233.170.191] ([64.233.170.191:19178] helo=rn-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/0D-33305-8E794384 for ; Wed, 21 May 2008 17:45:12 -0400 Received: by rn-out-0910.google.com with SMTP id v73so523631rnb.0 for ; Wed, 21 May 2008 14:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=+Q2snFMG8r4CCy0FbPJ6knamdM6DnR1SlMnJCsNcpi0=; b=jnqgWulnGHqnHzbrbcgfnIepRTnTiaojPYXL1zifWEuHIxaHvPq7aCgZut6ag7X+ouFBGxvea3dIkc8Hdxb9IMbhuwDKr6IarOfx9gm5/H4WfnKdB0NG1lpmlAxKbkfqeR1p3FZFlxPC4VYp6Z0Fd79OkqIOcA+x6TWYF+QCCgo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hSX8BjN6cSp6WAlxwLYG2ZBbP8+OuqcZ+xAPriFRLkNrPwHiLpHB3QY+X3sLZCWKbJxQOQd8zEBCe5chzCAuWNYEDdCfEvThOILsp0GZ/WdnZ4y/YGUlRk4mWHlc7gFrJAKgwY9ATx/Gl+InLs4FTaRwkmXjzoaZN9RDB8uZb84= Received: by 10.142.126.17 with SMTP id y17mr4092035wfc.244.1211406308784; Wed, 21 May 2008 14:45:08 -0700 (PDT) Received: by 10.142.224.18 with HTTP; Wed, 21 May 2008 14:45:08 -0700 (PDT) Message-ID: <78c6bd860805211445l5a8d811dn4d3f23cbb951cca2@mail.gmail.com> Date: Wed, 21 May 2008 17:45:08 -0400 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: How to abort MINIT? From: ioplex@gmail.com ("Michael B Allen") I provide an INI property to stop my extension from loading fully like: if (strcmp(sapi_module.name, "cli") == 0 && INI_STR("plexcel.sapi.cli") && INI_BOOL("plexcel.sapi.cli") == 0) { return; } But the extension is still loaded. It's just not initialized. Is there any way to abort within PHP_MINIT_FUNCTION or call a function to remove the extension from the runtime such that calling extension_loaded('plexcel') returns FALSE? Mike -- Michael B Allen PHP Active Directory SPNEGO SSO http://www.ioplex.com/