Hello Dmitry,

Monday, August 7, 2006, 10:25:48 AM, you wrote:

>> -----Original Message-----
>> From: Richard Quadling [mailto:[EMAIL PROTECTED] 
>> Sent: Monday, August 07, 2006 11:52 AM
>> To: Dmitry Stogov; PHP Developers Mailing List
>> Subject: Re: [PHP-DEV] Supporting version specific INI files 
>> as well as SAPI specific INI files.
>> On 07/08/06, Dmitry Stogov <[EMAIL PROTECTED]> wrote:
>> > I see several problems with version specific ini files
>> >
>> > 1) PHP might need to check tens of files before opening 
>> /etc/php.ini.
>> 
>> Currently there are 2 generic files being scanned for 
>> (php.ini and php-sapi.ini). I'm extending this to be 
>> phpx-sapi.ini, phpx.y-sapi.ini, phpx.y.z-sapi.ini and 
>> phpver-sapi.ini. This is only an extra 4 files max.

> These files are searched in several directories.

> PHPRC:regestry:binary dir:current working dir:default location(windows and
> windows /system32)
> 6 direstories in worst case.
> So with your solution we will look for 6 files in 6 directories.
> 36 files in worst case.
> This is not a big problem for ISAPI or apache module, but might be a problem
> for CGI.
>

But wouldn't you, if timing is an issue, do "phpcgi -n -c my.ini" anyway?


Best regards,
 Marcus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to