Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56821 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99765 invoked from network); 7 Dec 2011 08:03:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Dec 2011 08:03:49 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.42 mail-qw0-f42.google.com Received: from [209.85.216.42] ([209.85.216.42:46022] helo=mail-qw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/C7-40938-2ED1FDE4 for ; Wed, 07 Dec 2011 03:03:46 -0500 Received: by qabj40 with SMTP id j40so2311219qab.8 for ; Wed, 07 Dec 2011 00:03:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kZgXPrfnVq34cTa70FqeUEd4iiPXhkp31S7GvOUx0u8=; b=Az7PRq/ATfw900wH4Tk9QeF/2autFxuIfgSvToXVLgRMF+JVDeQSD0DkZbB/4gkpl5 gk4bbil0Ln31mLpljaQRH3sEgBzhI88hASgRBYsSSZd93OeSr2t6TU/BgKenCWPHGbL9 HzRiiT6qwN7GEAeVoa5DtfveSKMax+VRBQBvc= MIME-Version: 1.0 Received: by 10.224.18.147 with SMTP id w19mr15391368qaa.40.1323245023373; Wed, 07 Dec 2011 00:03:43 -0800 (PST) Received: by 10.229.212.5 with HTTP; Wed, 7 Dec 2011 00:03:43 -0800 (PST) In-Reply-To: <4EDF1433.4050604@php.net> References: <4EDF1433.4050604@php.net> Date: Wed, 7 Dec 2011 09:03:43 +0100 Message-ID: To: Sebastian Bergmann Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=bcaec51b1dd591a92c04b37bfde8 Subject: Re: [PHP-DEV] Bug #54514 From: tyra3l@gmail.com (Ferenc Kovacs) --bcaec51b1dd591a92c04b37bfde8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Dec 7, 2011 at 8:22 AM, Sebastian Bergmann wrote= : > Can somebody look into https://bugs.php.net/bug.php?**id=3D54514please? > This causes issues for CLI tools implemented in PHP that are invoked > through Apache Ant, for instance, and need to know the PHP interpreter > that is running them. > > See https://github.com/**sebastianbergmann/phpunit/**issues/432for an > example of how this affects PHPUnit. > > -- > Sebastian Bergmann Co-Founder and Principal Consultant > http://sebastian-bergmann.de/ http://thePHP.cc/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > +1, I also seen workarounds of this missing functionality in the symfony2: https://github.com/symfony/Process/blob/master/PhpExecutableFinder.php https://github.com/symfony/symfony/blob/master/tests/Symfony/Tests/Componen= t/Process/PhpExecutableFinderTest.php PHP_BINDIR is available, and from a quick test, $_SERVER['_'] has the path for the php binary also (only tested it on linux, cli). --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --bcaec51b1dd591a92c04b37bfde8--