Re: configuration

From: Date: Tue, 22 May 2001 18:04:57 +0000
Subject: Re: configuration
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-449@lists.php.net to get a copy of this message
"Tomas V.V.Cox" wrote: > > > I realize that PHP script reads an alternative php.ini if it founds it > in the same directory where you launch it, overriding the default > --with-config-file-path. Is this a bug? > Here are some tests to demostrate that: # touch php.ini # strace php -v 2>&1 | grep php.ini open("./php.ini", O_RDONLY) # rm php.ini # strace php -v 2>&1 | grep php.ini open("./php.ini", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/phpcvs/php.ini", O_RDONLY) = 3 It seems to be a extrange feature :? Tomas V.V.Cox

« previous php.pear.dev (#449) next »