Re: PHPINIPATH/PHPINIDIR/PHPININAME?

From: Date: Mon, 15 Nov 2004 04:00:49 +0000
Subject: Re: PHPINIPATH/PHPINIDIR/PHPININAME?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-202007@lists.php.net to get a copy of this message
Jordi Canals wrote:
On Sun, 14 Nov 2004 23:42:58 +0700, David Garamond <lists@zara.6.isreserved.com> 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 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 other interpreters I know can. So if there _is_ an env var to do that, what is it? I didn't see it and certainly strace doesn't show my /usr/bin/php doing any getenv() during startup. Regards, dave

« previous php.general (#202007) next »