|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2019-12-12 09:27 UTC] dries dot vints at gmail dot com
Description: ------------ When I try to install APCu with pecl on PHP 7.4 I get an error saying that PEAR cannot find Archive/Tar even though it's installed. The offset errors from below are from another bug which has already been resolved and should be in the next PHP patch release. I've installed PHP through Homebrew. $ pecl install APCu Notice: Trying to access array offset on value of type bool in REST.php on line 181 PHP Notice: Trying to access array offset on value of type bool in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/REST.php on line 181 Notice: Trying to access array offset on value of type bool in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/REST.php on line 181 downloading apcu-5.1.18.tgz ... Starting to download apcu-5.1.18.tgz (94,668 bytes) .....................done: 94,668 bytes Warning: require_once(Archive/Tar.php): failed to open stream: No such file or directory in PackageFile.php on line 304 PHP Warning: require_once(Archive/Tar.php): failed to open stream: No such file or directory in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/PackageFile.php on line 304 Warning: require_once(Archive/Tar.php): failed to open stream: No such file or directory in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/PackageFile.php on line 304 PHP Fatal error: require_once(): Failed opening required 'Archive/Tar.php' (include_path='/usr/local/Cellar/php/7.4.0/share/php/pear:/usr/local/Cellar/php/7.4.0/share/php/pear:/usr/local/Cellar/php/7.4.0/share/php/pear') in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/PackageFile.php on line 304 Fatal error: require_once(): Failed opening required 'Archive/Tar.php' (include_path='/usr/local/Cellar/php/7.4.0/share/php/pear:/usr/local/Cellar/php/7.4.0/share/php/pear:/usr/local/Cellar/php/7.4.0/share/php/pear') in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/PackageFile.php on line 304 Test script: --------------- Run `pecl install APCu` on PHP 7.4 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 08:00:02 2025 UTC |
Seems to be resolved now! Thanks ~ PEAR Version: 1.10.12 PHP Version: 8.0.7 Zend Engine Version: 4.0.7