|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58226 Exception due Phar.phar execute
Submitted: 2008-06-07 19:52 UTC Modified: 2008-07-27 14:05 UTC
From: Assigned: helly (profile)
Status: Not a bug Package: phar (PECL)
PHP Version: * OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2008-06-07 19:52 UTC]
After build and install phar 2.0.0b1 I try execute phar.phar utility, but got Uncaught exception.

Reproduce code:
Just invoke binary:
bash-3.2$ /usr/bin/phar.phar

Expected result:
Working, brief of usage, help.

Actual result:
PHP Fatal error:  Uncaught exception 'PharException' with message 'Cannot open archive "/usr/bin/phar.phar", invalid alias' in /usr/bin/phar.phar:1170
Stack trace:
#0 /usr/bin/phar.phar(1170): Phar::mapPhar()
#1 {main}
  thrown in /usr/bin/phar.phar on line 1170


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-27 14:05 UTC]
Thank you for taking the time to report a problem with the package.
Unfortunately you are not using a current version of the package -- 
the problem might already be fixed. Please download a new
version from

If you are able to reproduce the bug with one of the latest
versions, please change the package version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PECL.

When you rebuild PHP the issue gets solved by the new Makefile which deletes the old stuff first. The PECL extension is right now out of sync.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Feb 26 22:01:28 2024 UTC