Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27765 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55630 invoked by uid 1010); 4 Feb 2007 19:47:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55613 invoked from network); 4 Feb 2007 19:47:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2007 19:47:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 85.214.94.56 cause and error) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 h1149922.serverkompetenz.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:47545] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/C9-18726-56836C54 for ; Sun, 04 Feb 2007 14:47:50 -0500 Received: from baumbart.mbo (dslb-084-063-003-075.pools.arcor-ip.net [84.63.3.75]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 4E7821B34A3; Sun, 4 Feb 2007 20:31:56 +0100 (CET) Date: Sun, 4 Feb 2007 20:45:44 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1034695236.20070204204544@marcus-boerger.de> To: Wez Furlong CC: internals@lists.php.net In-Reply-To: <84D43AA9-5958-4E0B-8806-825B0CBA38BD@omniti.com> References: <84D43AA9-5958-4E0B-8806-825B0CBA38BD@omniti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC extensions_path directive From: helly@php.net (Marcus Boerger) Hello Wez, +1 marcus Sunday, February 4, 2007, 8:12:07 PM, you wrote: > 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. Best regards, Marcus