Installing PHPUnit in Ubuntu based systems.
I don't know why but after following pretty straight forward documentation on installing PHPUnit, nothing worked. After poking around for some I completely screwed phpunit installation somehow. Searching for help around stackoverflow didn't help much either. Anyway, one colleague of mine pointed out the following solution:
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover pear.symfony-project.com
sudo pear channel-discover components.ez.no
sudo pear update-channels
sudo pear upgrade-all
sudo pear install --alldeps phpunit/PHPUnit
sudo pear install --force --alldeps phpunit/PHPUnit
Hope this helps.
Leave a comment