Bug #74884 [NEW]: Cannot install PEAR using install-pear-nozlib.phar archive
| From: | clicky at erebot dot net | Date: | Sun, 09 Jul 2017 12:47:38 +0000 |
| Subject: | Bug #74884 [NEW]: Cannot install PEAR using install-pear-nozlib.phar archive | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-209931@lists.php.net to get a copy of this message | ||
From: clicky at erebot dot net
Operating system: Debian Stretch
PHP version: 7.2.0alpha3
Package: Unknown/Other Function
Bug Type: Bug
Bug description:Cannot install PEAR using install-pear-nozlib.phar archive
Description:
------------
Trying to install the PEAR installer using the install-pear-nozlib.phar
results in a 255 exit code.
No error is displayed on the console and pear is not installed.
I tracked this down to the setAttribute() method in Archive/Tar.php,
which uses the reference operator (&) on an internal function
(func_get_args).
Test script:
---------------
$ php-7.2.0alpha3/sapi/cli/php ../install-pear-nozlib.phar
Expected result:
----------------
PEAR installer gets installed, printing a bunch of message on stdout ot
indicate progress and exiting with 0
Actual result:
--------------
Nothing on stdout/stderr, pear installer is not installed and the
commands exits with code 255
--
Edit bug report at https://bugs.php.net/bug.php?id=74884&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74884&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74884&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74884&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74884&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74884&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74884&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74884&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74884&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74884&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74884&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74884&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74884&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74884&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74884&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74884&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74884&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74884&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74884&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74884&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74884&r=mysqlcfg