Re: PHPINIPATH/PHPINIDIR/PHPININAME?
| From: | Greg Donald | Date: | Sun, 14 Nov 2004 15:31:10 +0000 |
| Subject: | Re: PHPINIPATH/PHPINIDIR/PHPININAME? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201973@lists.php.net to get a copy of this message | ||
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);
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/