Re: [PHP] PHPINIPATH/PHPINIDIR/PHPININAME?

2004-11-14 Thread raditha dissanayake
David Garamond wrote: Um, am I missing something here? ITTRFMTR (is that the right fine manual to read?) I originally asked why the php cli binary cannot be told to look for php.ini in a custom location specified via an environment variable (it only accepts the -c command line argument). All ot

Re: [PHP] PHPINIPATH/PHPINIDIR/PHPININAME?

2004-11-14 Thread David Garamond
Jordi Canals wrote: On Sun, 14 Nov 2004 23:42:58 +0700, David Garamond <[EMAIL PROTECTED]> wrote: Greg Donald wrote: print_r($_ENV); What should I see in it? RTFM http://www.php.net/manual/en/reserved.variables.php#reserved.variables.environment Um, am I missing something here? ITTRFMTR (is that t

Re: [PHP] PHPINIPATH/PHPINIDIR/PHPININAME?

2004-11-14 Thread Jordi Canals
On Sun, 14 Nov 2004 23:42:58 +0700, David Garamond <[EMAIL PROTECTED]> wrote: > Greg Donald wrote: > > > > print_r($_ENV); > > What should I see in it? > RTFM http://www.php.net/manual/en/reserved.variables.php#reserved.variables.environment -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] PHPINIPATH/PHPINIDIR/PHPININAME?

2004-11-14 Thread David Garamond
Greg Donald wrote: On Sun, 14 Nov 2004 21:53:52 +0700, David Garamond <[EMAIL PROTECTED]> 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,

Re: [PHP] PHPINIPATH/PHPINIDIR/PHPININAME?

2004-11-14 Thread Greg Donald
On Sun, 14 Nov 2004 21:53:52 +0700, David Garamond <[EMAIL PROTECTED]> 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 wit

[PHP] PHPINIPATH/PHPINIDIR/PHPININAME?

2004-11-14 Thread David Garamond
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 aw