Installing PHPUnit via PEAR Installing PHPUnit via PEAR php php

Installing PHPUnit via PEAR


I had the same problem, try:

pear clear-cache


I had the same problem yesterday, and solved it by updating the channels

pear clear-cachepear update-channels

before trying to install phpUnit.

Hope this helps.


It simply installs me when I type:

pear channel-discover pear.phpunit.depear install --onlyreqdeps phpunit/PHPUnit

Maybe there is a problem with the versions, you may set the preferred_state of the pear packages to different than stable:

pear config-set preferred_state beta