ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
Re: [PHP-DEV] Supporting version specific INI files as well as SAPI specific INI files.
by Marcus Boerger other posts by this author
Aug 7 2006 1:39AM messages near this date
Re: [PHP-DEV] Supporting version specific INI files as well as SAPI specific INI files. | Re: [PHP-DEV] Supporting version specific INI files as well as SAPI specific INI files.
Hello Dmitry,

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

> > -----Original Message-----
> > From: Richard Quadling [mailto:rquadling@[...].com] 
> > 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 <dmitry@[...].com> 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
Thread:
Richard Quadling
Dmitry Stogov
Unknown W. Brackets
Marcus Boerger
Richard Quadling

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved