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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hubbitus@php.net
New email:
PHP Version: OS:

 

 [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: Tue Apr 23 11:01:33 2024 UTC