Re: Proposal: allow for includes in php.ini
| From: | Michael Shadle | Date: | Wed, 23 Dec 2009 18:08:43 +0000 |
| Subject: | Re: Proposal: allow for includes in php.ini | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46510@lists.php.net to get a copy of this message | ||
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 <tjerk.meesters@gmail.com>:
> On 23-Dec-2009, at 21:47, Johannes Schlüter <johannes@schlueters.de> 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, as it uses ini files as
>>> well.
>>
>> I think the --with-config-file-scan-dir is the perfect thing for this,
>> having includes means having wild dependencies ... and to answer to your
>> example: Ubuntu would still have to edit a php.ini file to add a new
>> include, with scan dir: add a file,restart server, done.
>>
>> johannes
>>
>>
> Why not have both? Combining these two methods allow for more flexibility,
> though if anything I would vote for wildcards in include statements to make
> it more powerful.
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>