When I run:
peardev install phpunit/PHPUnit
I get the following:
No releases available for package \"pear.phpunit.de/PHPUni
could not extract the package.xml file from "C:\Program Files\PHP\tmp\YAML-1.0.5
.tgz" Unable to create directory 'C:/Program/tmpFA83.tmp'
Unable to create path for C:/Program/tmpFA83.tmp/package.xml
This is a bug in pear installer. It can't deal with the SPACE in your path and tries to read the wrong files. Installing your php in a folder without a space is the only 'fix' i know about :/
Update 5:
pear install --force --alldeps pear/pear
do all channel updates it asks for
pear install --force --alldeps phpunit/PHPUnit
if asked for channel updates, do those and repeat