Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46514 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14518 invoked from network); 23 Dec 2009 19:09:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Dec 2009 19:09:25 -0000 Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.192 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.210.192 mail-yx0-f192.google.com Received: from [209.85.210.192] ([209.85.210.192:54641] helo=mail-yx0-f192.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/17-17066-4EA623B4 for ; Wed, 23 Dec 2009 14:09:24 -0500 Received: by yxe30 with SMTP id 30so8525354yxe.29 for ; Wed, 23 Dec 2009 11:09:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=V8zNDooIGnWvCgak+WwyRGhHX+2cp83UhSD/cnD77q4=; b=E8PXx7fiFN8B1eu4/s19jwyEviay94rgPw5VmeoSlwGGws5QQDu7dWgxnwfdvWj+P1 SEXIwRl2ZUHz9eXA34CfxCEi0tyffBQoXAd0lZObcVq2uDvunJTPR1G5EMlUqHUcQXBE /KTc7v29yalkEMlQvira1zaEPxsXtIQG0qLxM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=ZiE7HD8YmT6xjg2KkenrgIYmrOyDFUAf94TNmw4CDEeFGvj9lG1ARIXEHvYIk8bcKb UnLkbBsqNlgP1IVxxk6Foll7Sbm6zLDS4MfN2uhsfYFcwNhMG5XogXNegWd75hbZ710k RJQ4bcqoywyO29VoxxTbPszKTrb7O8OggWEF8= Received: by 10.90.253.16 with SMTP id a16mr6488589agi.3.1261595361661; Wed, 23 Dec 2009 11:09:21 -0800 (PST) Received: from ?192.168.1.105? (bb116-15-25-30.singnet.com.sg [116.15.25.30]) by mx.google.com with ESMTPS id 8sm2882087ywg.49.2009.12.23.11.09.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 23 Dec 2009 11:09:20 -0800 (PST) References: <1261576024.1840.28.camel@guybrush> <8cf711460912231013n47344746qec880bacfd19e9f4@mail.gmail.com> Message-ID: To: Pierre Joye In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPod Mail (7D11) Mime-Version: 1.0 (iPod Mail 7D11) Date: Thu, 24 Dec 2009 03:08:31 +0800 Cc: Michael Shadle , Mikko Koppanen , =?GB2312?Q?Johannes_Schl=A8=B9ter?= , php-dev Subject: Re: [PHP-DEV] Proposal: allow for includes in php.ini From: tjerk.meesters@gmail.com (Tjerk Meesters) On 24-Dec-2009, at 2:47, Pierre Joye wrote: > On Wed, Dec 23, 2009 at 7:20 PM, Michael Shadle > wrote: >> On Wed, Dec 23, 2009 at 10:13 AM, Mikko Koppanen >> wrote: >> >>> Hello, >>> >>> I think you can use PHP_INI_SCAN_DIR environment variable which >>> should >>> work runtime as well. >> >> still seems a bit archaic. i don''t see any reason why include >> support >> can't be added in php.ini. it will probably wind up becoming more >> popular and widely used than the configure option too, or the >> environment option... > > Please tell me one benefit except "we support include"? I don't see > any. The extra files are still there, they will be loaded too, etc. > The most tempting reason for me would be to have easier control of what gets loaded between SAPI's, eg load this ini for cli but not for cgi, etc. Right now this is only possible by compiling each Sapi with its own search path, which is more cumbersome. > Cheers, > -- > Pierre > > http://blog.thepimp.net | http://www.libgd.org