Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-28 Thread 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 e

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-28 Thread 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 shou

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Tjerk Anne Meesters
On Thu, Dec 24, 2009 at 9:28 AM, Michael Shadle wrote: > On Wed, Dec 23, 2009 at 5:12 PM, Mikko Koppanen wrote: >> Hi, >> >> I think this is the feature (in trunk currently): >> >> http://svn.php.net/viewvc?view=revision&revision=28287 > > This is not the same, this is just an additional way to s

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Michael Shadle
On Wed, Dec 23, 2009 at 5:12 PM, Mikko Koppanen wrote: > Hi, > > I think this is the feature (in trunk currently): > > http://svn.php.net/viewvc?view=revision&revision=28287 This is not the same, this is just an additional way to still have static dirs defined only at compile time, or maybe envir

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Mikko Koppanen
On Thu, Dec 24, 2009 at 12:23 AM, Pierre Joye wrote: > So what you need is multiple ini dirs, not actually include. I think > there is a patch somewhere for this feature, or it may even be already > in. If not, that could be something useful. Hi, I think this is the feature (in trunk currently):

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Michael Shadle
On Wed, Dec 23, 2009 at 2:23 PM, Pierre Joye wrote: > So what you need is multiple ini dirs, not actually include. I think > there is a patch somewhere for this feature, or it may even be already > in. If not, that could be something useful. To me, it solves all of the usage models currently pro

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Pierre Joye
On Wed, Dec 23, 2009 at 10:25 PM, Michael Shadle wrote: > On Wed, Dec 23, 2009 at 10:47 AM, Pierre Joye wrote: > >> 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. > > Instead of a -single location- being d

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Michael Shadle
On Wed, Dec 23, 2009 at 10:47 AM, Pierre Joye wrote: > 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. Instead of a -single location- being defined at compile time or execution of PHP time, this allows it N

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread 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.

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Pierre Joye
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 sup

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Michael Shadle
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

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Mikko Koppanen
2009/12/23 Michael Shadle : > i am fine with both too. i just think it's sorely lacking to be able > to do it any other time than at compile time -and- that only provides > you one location. > > could be very powerful to allow for any location to be scanned for ini files. > Hello, I think you can

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Michael Shadle
i am fine with both too. i just think it's sorely lacking to be able to do it any other time than at compile time -and- that only provides you one location. could be very powerful to allow for any location to be scanned for ini files. 2009/12/23 Tjerk Meesters : > On 23-Dec-2009, at 21:47, Johan

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Tjerk Meesters
On 23-Dec-2009, at 21:47, Johannes Schlüter wrote: On Wed, 2009-12-23 at 04:40 -0800, Michael Shadle wrote: NOTE: I just remembered there -is- a config-file-scan-dir option at compile time. However, what about doing away with this and making it inline in php.ini, the syntax can match mysql,

Re: [PHP-DEV] Proposal: allow for includes in php.ini

2009-12-23 Thread Johannes Schlüter
On Wed, 2009-12-23 at 04:40 -0800, Michael Shadle wrote: > NOTE: I just remembered there -is- a config-file-scan-dir option at > compile time. However, what about doing away with this and making it > inline in php.ini, the syntax can match mysql, as it uses ini files as > well. I think the --with-