Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46540 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44618 invoked from network); 28 Dec 2009 09:44:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Dec 2009 09:44:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.220.227 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 209.85.220.227 mail-fx0-f227.google.com Received: from [209.85.220.227] ([209.85.220.227:37770] helo=mail-fx0-f227.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BF/88-26502-AED783B4 for ; Mon, 28 Dec 2009 04:44:11 -0500 Received: by fxm27 with SMTP id 27so9497189fxm.23 for ; Mon, 28 Dec 2009 01:44:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=V+na7K3cgsXDzT0edmHuPyRtWyfzmTNp7E/s5oeUMX4=; b=OPu6luBdoE2NTt2ju94aFb2UN36h5Gf20a56q7V+MQH82Rwp24yg/4QB1WPo2Bjng+ JGXKQExUOwFJ3Cocbe3tLEBNca9NVDRe4k46vOt9qfgNCutORKsM2j5rTOkln8CYzNEi GEDzB6La7cjrty7zVw5ty5Fp/3HJsvFWg7+Qs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; b=g+yAmK3vGa9i/7zwMiPlPx9v5cVMQ79Rjzhqhqkkg4zIYQhsJimGOdJOa8SXcCN7cN NuBPLftWMtfGZpQa1WK4A2+jTp50DAel39KiiavVMdrY2RqhD0GxAC0FYE9ZlnuBLYPj hZer16RGd5wLB2d65Hw7EgL8KdrT16mrx5XPM= MIME-Version: 1.0 Received: by 10.223.164.77 with SMTP id d13mr2815732fay.93.1261993445617; Mon, 28 Dec 2009 01:44:05 -0800 (PST) Reply-To: RQuadling@googlemail.com In-Reply-To: References: <1261576024.1840.28.camel@guybrush> <8cf711460912231013n47344746qec880bacfd19e9f4@mail.gmail.com> Date: Mon, 28 Dec 2009 09:43:45 +0000 Message-ID: <10845a340912280143l59143fb3p4cfd71f00970fff1@mail.gmail.com> To: Tjerk Meesters Cc: Pierre Joye , Michael Shadle , Mikko Koppanen , =?UTF-8?Q?Johannes_Schl=C3=BCter?= , php-dev Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Proposal: allow for includes in php.ini From: rquadling@googlemail.com (Richard Quadling) 2009/12/23 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > For different SAPIs ... php-cli.ini, php-isapi.ini, php-cgi-fcgi.ini, etc. is what I use on Windows. Combined with registry settings for PHP (Prior to PHP5), PHP5 and PHP6, I can very easily dictate which INI file will be loaded for which version of PHP and for which SAPI. Beyond that, I can use [HOST=] for some host specific settings. All of this is with the standard windows pre-compiled binaries. -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling