Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29018 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73607 invoked by uid 1010); 25 Apr 2007 15:12:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 73591 invoked from network); 25 Apr 2007 15:12:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Apr 2007 15:12:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.92.171 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 66.249.92.171 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.171] ([66.249.92.171:5236] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/D9-25889-3EF6F264 for ; Wed, 25 Apr 2007 11:12:37 -0400 Received: by ug-out-1314.google.com with SMTP id o4so411193uge for ; Wed, 25 Apr 2007 08:12:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TzNSXIjMupS35HjTeHxR4BLeUarpOXxdrfm1H2UzrLuI7PodwAAgeBqMZ1LphjhQo9mOjm+RAAdERdRqMyx056lH85nXK+wzWLwtQsPTkV5uUdCTHlbd/qEnHfjKs6JUm0azdMn7Yr680Iz/xdg1Nft3M/kRtyM+f5AnlimFrjE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uoqRsAxgxGcp3czj7fd72lDRZnJSsYWE9GQqGozCxGFh7YlZIp3awFfrJk9WRPX2jZFNph3uoPivQ+7lB0Xp7BThIDwKSX1I1GCE2NqoCZk+zd/wNHttRxLoGGiB3sCeJmhmOVUjqMmq9l5hfwVdbe/UbibIrphP7ia0tD+dMhk= Received: by 10.82.147.6 with SMTP id u6mr1427465bud.1177513952869; Wed, 25 Apr 2007 08:12:32 -0700 (PDT) Received: by 10.82.105.12 with HTTP; Wed, 25 Apr 2007 08:12:32 -0700 (PDT) Message-ID: <7f3ed2c30704250812x5563d1dx2f7fc9bb988ac8f@mail.gmail.com> Date: Wed, 25 Apr 2007 17:12:32 +0200 To: "Stanislav Malyshev" Cc: "PHP Developers Mailing List" In-Reply-To: <462F6386.7040308@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7f3ed2c30704231001j721c2c35q55be1fce5d78fa87@mail.gmail.com> <462F6386.7040308@zend.com> Subject: Re: [PHP-DEV] [PATCH] PHP-cli ini search path From: hannes.magnusson@gmail.com ("Hannes Magnusson") 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 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/ > >