I\'ve got a fresh copy of PHPUnit installed on my system (Ubuntu 11), but whenever I type phpunit in the console I get the following error:
phpunit
PHP Fa
The executable script that loads PHPUnit must not have been updated when going to 3.6.x. Reinstall it.
sudo pear uninstall phpunit/PHPUnit sudo pear install phpunit/PHPUnit
If this doesn't work, make sure PEAR itself is up-to-date.