Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows - PHPDocs unable to install through Pear

Tags:

php

wamp

pear

When running the two commands to install phpdocs:

pear channel-discover pear.phpdoc.org pear install

phpdoc/phpDocumentor

I get this error below saying I am unable to unpack a tgz file below.

C:\wamp\bin\php\php5.5.12\pear>pear channel-discover pear.phpdoc.org
            
C:\wamp\bin\php\php5.5.12\pear>pear install phpdoc/phpDocumentor
downloading phpDocumentor-2.8.2.tgz ...
Starting to download phpDocumentor-2.8.2.tgz (16,246,834 bytes)
            ................................................................................
            ................................................................................
            ................................................................................
..........................done: 16,246,834 bytes
ERROR: unable to unpack C:\Users\me\AppData\Local\Temp\pear\download\p
            hpDocumentor-2.8.2.tgz
like image 892
Jebathon Avatar asked Nov 30 '22 10:11

Jebathon


1 Answers

Faced the same problem, turns out package for 2.8.2 has issues, because pear install phpdoc/PhpDocumentor-2.8.1 worked just fine

like image 55
paulus Avatar answered Dec 06 '22 04:12

paulus