Re: Pyrus installation fails on stock OS/X PHP install

From: Date: Sat, 24 Jul 2010 14:37:30 +0000
Subject: Re: Pyrus installation fails on stock OS/X PHP install
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-53634@lists.php.net to get a copy of this message
On 19 Jul 2010, at 05:42, Bill Shupp wrote: > On Sun, Jul 18, 2010 at 4:50 AM, Brett Bieber <brett.bieber@gmail.com>wrote: > >> On Sun, Jul 18, 2010 at 5:10 AM, Evert Pot <evert@filemobile.com> wrote: >>> The issue is pretty weird, so I decided to post it on the list first. >>> >>> $ php -v >>> PHP 5.3.1 (cli) (built: Feb 11 2010 02:32:22) >>> Copyright (c) 1997-2009 The PHP Group >>> Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies >>> with Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans >>> >>> $ php pyrus.phar >>> ??? >>> >>> $ php pyrus.phar | hexdump -C >>> 00000000 3f 3f 00 3f |??.?| >>> 00000004 >>> >>> For fun I added die('foo') as the very first line in pyrus.phar, but it >> has the same output. >>> Although I'm happy to move to 5.3.2, the website mentions 5.3.1 *should* >> be supported. >>> >>> Are there known problems with the PHP Apple ships? >> >> Yes. No phar files work from CLI with the Apple stock PHP 5.3.1. I >> believe this is both an Apple bug and a phar ext bug. >> >> - >> > > Try mac ports instead of Apple's distribution. I think it's much easier to > manage php and other apps. 5.3.2 will be the minimum version anyway; The recent security fixes in phar are important enough to err on the safe side. - Helgi

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