Re: [PATCH] PHP-cli ini search path
| From: | Hannes Magnusson | Date: | Wed, 25 Apr 2007 15:12:32 +0000 |
| Subject: | Re: [PATCH] PHP-cli ini search path | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29018@lists.php.net to get a copy of this message | ||
It fixes the bug on BSDs where the ini is picked up from cwd - and
when you do "touch php && php -v"
On 4/25/07, Stanislav Malyshev <stas@zend.com> wrote:
Could you explain - why do you need to use VCWD there? Hannes Magnusson wrote: Hi all Attached is a patch for the PHP-cli php.ini search path feature which fixes two things: a) php.ini from cwd was picked up on BSDs b) "resolves" to correct php-binary-location and picks up the php.ini file from there The php.ini-from-binary-location feature has never worked properly before on *nix except with /path/to/php :( Any objections? -Hannes -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/