Install pear

open command line

put following commands

pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear update-channels
pear clear-cache
pear install –alldeps phpunit/PHPUnit

Advertisements