Re: PHPINIPATH/PHPINIDIR/PHPININAME?

From: Date: Sun, 14 Nov 2004 16:42:58 +0000
Subject: Re: PHPINIPATH/PHPINIDIR/PHPININAME?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-201978@lists.php.net to get a copy of this message
Greg Donald wrote:
On Sun, 14 Nov 2004 21:53:52 +0700, David Garamond <lists@zara.6.isreserved.com> wrote:
I wonder why the CLI version of PHP doesn't consult environment variables to override some default settings. This mechanism is used by all the other interpreters that I use (e.g.: perl with PERLLIB/etc, python with PYTHONHOME/PYTHONPATH/etc, ruby with RUBYOPT/RUBYLIB/RUBYPATH/etc). PS: I am aware of -c. It would be nice to have something like PHP_INI_PATH/PHP_INI_DIR/PHP_INI_NAME though...
print_r($_ENV);
What should I see in it? -- dave

« previous php.general (#201978) next »