From: dauphin at enst dot fr
Operating system: solaris 10 sparc64
PHP version: 5.2.1
PHP Bug Type: *Compile Issues
Bug description: install-pear-nozlib.phar Not valid internal .phar file
Description:
------------
when installing php5 i got an error with PEAR install
Reproduce code:
---------------
in file install-pear-nozlib.phar
if (self::$_manifest[$this->_archiveName][$path][3] !=
sprintf("
%u", crc32($data))) {
return array("Not valid internal .phar file (checksum
error)
");
}
Expected result:
----------------
install PEAR
crc32 return int32 on 64bits architecture
Actual result:
--------------
gmake install
...
Installing PEAR environment: /usr/pkg/lib/php/
Fatal error: Not valid internal .phar file (checksum error) in
/pkg/obj/lang/php
5/work/php-5.2.1/pear/install-pear-nozlib.phar on line 411
gmake[1]: *** [install-pear-installer] Error 255
--
Edit bug report at http://bugs.php.net/?id=40958&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=40958&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=40958&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=40958&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40958&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=40958&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40958&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40958&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40958&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40958&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40958&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=40958&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=40958&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40958&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40958&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40958&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40958&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40958&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40958&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40958&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40958&r=mysqlcfg