Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46555 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95782 invoked from network); 28 Dec 2009 15:31:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Dec 2009 15:31:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.211.202 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.211.202 mail-yw0-f202.google.com Received: from [209.85.211.202] ([209.85.211.202:52703] helo=mail-yw0-f202.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/22-26502-06FC83B4 for ; Mon, 28 Dec 2009 10:31:45 -0500 Received: by ywh40 with SMTP id 40so10857066ywh.26 for ; Mon, 28 Dec 2009 07:31:42 -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=+KEW3slMcIIzWoSWzPz+/hJjpfWDS0GKwPyhdKSAKIQ=; b=ldPYQYUrKA0dPADlrmKRKXCfO2Td68+0ZWcNJRTGE/TEASikNqSQSnKiafWoehUQ3y 7YjrJjdDbasnuXdOGmaRcTfWYCLLcZZ5HUos5Zq2Aj7L8kFBEZv4HfK+WcEhwEzM7nro 5hCmarWkQ5fVna+aRa7uG3tG/PA1ARMqJ7rUQ= 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=CFrjV/Qb4M73eaQ85hKh9IxDV0dJB7y7qR6MsTjqJf2TmFN5+JWyMWGOzmwRDt29b6 dpc9uBnd4q3FpcNgxLEtrW5gdjt5ZojDJ5q3HKYI45ph+1L9BK22XVTc9fvcV7TqTb0j 7AsvNfa5Xn4HQarUjjWr7A8TkhTLWBPpLfERQ= Received: by 10.101.134.40 with SMTP id l40mr23714766ann.126.1262014302412; Mon, 28 Dec 2009 07:31:42 -0800 (PST) Received: from ?192.168.1.105? (bb220-255-192-205.singnet.com.sg [220.255.192.205]) by mx.google.com with ESMTPS id 5sm4086898ywd.8.2009.12.28.07.31.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 28 Dec 2009 07:31:41 -0800 (PST) References: <1261576024.1840.28.camel@guybrush> <8cf711460912231013n47344746qec880bacfd19e9f4@mail.gmail.com> <10845a340912280143l59143fb3p4cfd71f00970fff1@mail.gmail.com> Message-ID: To: "RQuadling@googlemail.com" In-Reply-To: <10845a340912280143l59143fb3p4cfd71f00970fff1@mail.gmail.com> 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: Mon, 28 Dec 2009 23:30:49 +0800 Cc: Pierre Joye , 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 28-Dec-2009, at 17:43, Richard Quadling wrote: > 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. > I'm not sure what registry settings do, haven't seen that in Linux yet. The additional use case would be to have all common configuration settings into one ini file that would get included by the different SAPI ini files. > > > -- > ----- > 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