phpunit: unable to use .phar due unsupported signature error
i’m unable to figure out what is causing this. other phar files (composer, php-cs-fixer, …) run fine in this system.
➔ php56 phpunit.phar --version
PHP Fatal error: Uncaught exception 'PharException' with message 'phar "/tmp/phpunit.phar" has a unsupported signature' in /tmp/phpunit.phar:21
Stack trace:
#0 /tmp/phpunit.phar(21): Phar::mapPhar('phpunit-5.0.8.p...')
#1 {main}
thrown in /tmp/phpunit.phar on line 21
and i do not have suhosin extension nor patch present like mentioned in #1694
extensions present:
➔ php -m | grep -Ei 'phar|zip|zlib|bz2|ssl'
bz2
openssl
Phar
zip
zlib
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 27 (5 by maintainers)
Commits related to this issue
- Closes #1948 — committed to sebastianbergmann/phpunit by deleted user 9 years ago
- make phar to support SHA-256, SHA-512 hashes thus phar requires hash extension now test phar: https://phar.phpunit.de/phpunit-4.8.16.phar see problem analyze here: https://github.com/sebastianbergm... — committed to pld-linux/php by glensc 9 years ago
- make phar to support SHA-256, SHA-512 hashes thus phar requires hash extension now test phar: https://phar.phpunit.de/phpunit-4.8.16.phar see problem analyze here: https://github.com/sebastianbergm... — committed to pld-linux/php by glensc 9 years ago
some background information, this is the check to make to see if ext/phar lacks the support: