php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40958 install-pear-nozlib.phar Not valid internal .phar file
Submitted: 2007-03-30 13:53 UTC Modified: 2007-04-03 18:40 UTC
From: dauphin at enst dot fr Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.1 OS: solaris 10 sparc64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dauphin at enst dot fr
New email:
PHP Version: OS:

 

 [2007-03-30 13:53 UTC] dauphin at enst dot fr
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-03 18:40 UTC] tony2001@php.net
Duplicate of bug #40841.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 18 20:00:03 2025 UTC