Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

graduan's avatar

Cannot install xdebug on mac using pecl

Hi, as stated in title above I cannot install xdebug on mac using pecl, this is the error message I get


pecl install xdebug
downloading xdebug-2.6.1.tgz ...
Starting to download xdebug-2.6.1.tgz (283,961 bytes)
..........................................................done: 283,961 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/[email protected]/7.2.14/share/[email protected]/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/[email protected]/7.2.14/share/[email protected]/pear/PEAR/PackageFile.php on line 304
PHP Fatal error:  require_once(): Failed opening required 'Archive/Tar.php' (include_path='/usr/local/Cellar/[email protected]/7.2.14/share/[email protected]/pear:/usr/local/Cellar/[email protected]/7.2.14/share/[email protected]/pear:/usr/local/Cellar/[email protected]/7.2.14/share/[email protected]/pear') in /usr/local/Cellar/[email protected]/7.2.14/share/[email protected]/pear/PEAR/PackageFile.php on line 304

Fatal error: require_once(): Failed opening required 'Archive/Tar.php' (include_path='/usr/local/Cellar/[email protected]/7.2.14/share/[email protected]/pear:/usr/local/Cellar/[email protected]/7.2.14/share/[email protected]/pear:/usr/local/Cellar/[email protected]/7.2.14/share/[email protected]/pear') in /usr/local/Cellar/[email protected]/7.2.14/share/[email protected]/pear/PEAR/PackageFile.php on line 304

0 likes
1 reply

Please or to participate in this conversation.