php.net |  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: hubbitus@php.net Assigned: helly (profile)
Status: Not a bug Package: phar (PECL)
PHP Version: * OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
26 + 9 = ?
Subscribe to this entry?

 
 [2008-06-07 19:52 UTC] hubbitus@php.net
Description:
------------
php-5.3.0-0.SNAP200805080630
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-27 14:05 UTC] helly@php.net
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 http://pecl.php.net/packages.php

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: Thu Mar 28 23:01:26 2024 UTC