Re: CLI SAPI (was Re: [PHP-DEV] 4.3 release call to arms)

From: Date: Fri, 26 Jul 2002 13:52:46 +0000
Subject: Re: CLI SAPI (was Re: [PHP-DEV] 4.3 release call to arms)
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-86237@lists.php.net to get a copy of this message
On Fri, Jul 26, 2002 at 10:04:43AM +0200, Edin Kadribasic wrote : > > > 3. Command-line SAPI installed by default (Edin) > > > * php.ini issues > > > > I think the only remaining issue here is to be able to have a > separate > > config/ini file for cli. While we're at it we might as well > support > > SAPI-specific config files, so PHP first looks for php-$SAPI.ini, > then > > php.ini. > > I think this is a good idea. So cli, for instance, would first look > for php-cli.ini, and if it fails it would fall back on php.ini. I'll > have a go at implemeting it. > > With this, and Jan's plaintext php -i, i thing cli's feature set is > complete for now. Complete ? :) How about system wide ini files and user-specific ones /etc/php/php(-cli).ini and ~/.php(-cli).ini . While we are at it, how about a feature which first also tries to access the php.ini with for a specific version number: php-4.3.0-cli.ini But this would ultimately also need something like a Include statement for php.ini so a php-4.3.0-cli.ini could still load a php-command.ini or so (which is not likely to happen soon/ever afiak). my 2e ;) - Markus -- GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc

« previous php.dev (#86237) next »