Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27764 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42274 invoked by uid 1010); 4 Feb 2007 19:12:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42259 invoked from network); 4 Feb 2007 19:12:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2007 19:12:13 -0000 Authentication-Results: pb1.pair.com header.from=wez@omniti.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=wez@omniti.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain omniti.com designates 66.225.209.50 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: wez@omniti.com X-Host-Fingerprint: 66.225.209.50 mail.omniti.com Linux 2.5 (sometimes 2.4) (4) Received: from [66.225.209.50] ([66.225.209.50:56823] helo=mail.omniti.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/08-18726-D0036C54 for ; Sun, 04 Feb 2007 14:12:13 -0500 X-DomainKeys: Ecelerity dk_sign implementing draft-delany-domainkeys-base-01 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=test; d=omniti.com; h=Authentication-Results:Received:Mime-Version:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=Q6XiPM/Ky7FMF8zN6N87TDO7zllIa6WC+jCoqzpO9fA7CBDMZ3XujnveVTQxniy0 JPkAN7OZvlOhytOUCeQpAPZMnSr39GiJNA7ZTpFZMFVvIxZnFACwrsPl+jsDeDOd Authentication-Results: mail.omniti.com smtp.user=wez; auth=pass (LOGIN) Received: from [68.85.222.253] ([68.85.222.253:51631] helo=[192.168.50.4]) by mail.omniti.com (ecelerity 2.1.1.12 r(14453)) with ESMTPSA (cipher=AES128-SHA) id B5/2C-17191-80036C54 for ; Sun, 04 Feb 2007 14:12:11 -0500 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <84D43AA9-5958-4E0B-8806-825B0CBA38BD@omniti.com> Content-Transfer-Encoding: 7bit Date: Sun, 4 Feb 2007 14:12:07 -0500 To: internals@lists.php.net X-Mailer: Apple Mail (2.752.3) Subject: RFC extensions_path directive From: wez@omniti.com (Wez Furlong) We have a need for a search path for extensions, so that we can have a system provided set of extensions and an optional location for per- application extensions that either augment or override the baseline extensions. To facilitate this, I propose that we create a new directive called extensions_path that allows the sysadmin to configure a search path for extensions. I see the usage as going something like this: extensions_path = "/local/extensions:$DEFAULT_EXTENSIONS_DIR" Where $DEFAULT_EXTENSIONS_DIR evaluates to the default value of extensions_dir. I think it's important to have a symbol for the default location, so that httpd.conf files don't have to have our API numbers encoded into them. I don't mind if the actual symbol we use for the default manifests differently, so long as it works from within httpd.conf... if extensions_dir works there. If it's php.ini only, I'm happy to use the existing constant expansion stuff we have for php.in... if that will work in a path string syntax. I also don't mind if we simply expand extensions_dir to behave in this manner. I just want to gather some feedback before writing some code. To be super clear, I don't propose changing anything other than the searching behavior for extensions. --Wez.