Re: [PHP-DEV] Re: php 5.3 on windows does not work with go-pear.phar

2009-07-01 Thread Greg Beaver
Sebastian Bergmann wrote:
> Greg Beaver schrieb:
>> 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.
> 
>  That should have been "-d phar.require_hash=0", I guess.

Hi,

This is correct, sorry again.

Greg

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: php 5.3 on windows does not work with go-pear.phar

2009-07-01 Thread Sebastian Bergmann
Greg Beaver schrieb:
> 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.

 That should have been "-d phar.require_hash=0", I guess.

-- 
Sebastian BergmannCo-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



[PHP-DEV] Re: php 5.3 on windows does not work with go-pear.phar

2009-07-01 Thread Greg Beaver
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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php