Re: php 5.3 on windows does not work with go-pear.phar

From: Date: Wed, 01 Jul 2009 14:00:28 +0000
Subject: Re: php 5.3 on windows does not work with go-pear.phar
References: 1  Groups: php.internals php.pear.dev 
Request: Send a blank email to internals+get-44569@lists.php.net to get a copy of this message
Christian Weiske wrote: > Hi, > > > Several users reported that the windows package of php 5.3 does not work with the phar: > - http://pastebin.com/d79a424b3 > - http://pastebin.com/d49c8cc02 > > phar "C:\Users\Sebastian Bergmann\php\PEAR\go-pear.phar" does not have a signature > Warning: require_once(phar://go-pear.phar/index.php): failed to open stream: phar error: > invalid url or non-existent phar "phar://go-pear.phar/index.php" in C:\ > Users\Sebastian Bergmann\php\PEAR\go-pear.phar on line 1236 Sorry about this problem, the fix is simple, is not a bug in PHP or in phar, and is just a developer oversight. First, add "-drequire_hash=0" to go-pear.bat as a temporary fix for those who already have PHP 5.3.0, and the permanent fix is to re-generate the go-pear.phar on a machine with ext/phar installed. I am not sure how this slipped through, perhaps I have the require_hash=0 in my php.ini on windows and forgot about it (will have to check) Greg

« previous php.internals (#44569) next »