title: Problems with PHPUnit (Linux) - PHP Fatal Error
body: <p>I successfully installed PHPUnit on my desktop PC and decided to have it on my laptop PC, but... then I try to create PHPUnit test Netbeans throws an error "Selected PHPUnit (version ?.?.?) is to old, upgrade it if possible (the minimum version is 3.3.0).".</p>
  
  <p>Of course my PHPUnit version is newer - 3.5.5-2. Where is the problem?</p>
  
  <p>I am using </p>
  
  <ul>
  <li>Ubuntu 11.04</li>
  <li>Netbeans 6.9</li>
  <li>PEAR Version: 1.9.1</li>
  <li>PHP Version: 5.3.5-1ubuntu7.2</li>
  <li>Zend Engine Version: 2.3.0</li>
  </ul>
  
  <p>As I understand the problem is with PHPUnit. When I try to call "phpunit" command in terminal I receive PHP Fatal error:</p>
  
  <pre><code>root@ubuntu:~# phpunit –version
  PHP Warning:  require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38
  PHP Stack trace:
  PHP   1. {main}() /usr/bin/phpunit:0
  PHP Fatal error:  require_once(): Failed opening required 'PHP/CodeCoverage/Filter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/bin/phpunit on line 38
  PHP Stack trace:
  PHP   1. {main}() /usr/bin/phpunit:0
  root@ubuntu:~# find / -name CodeCov*
  root@ubuntu:~#
  </code></pre>
  
  <p>As you can see there is no such file or folder in my PC. What to do?</p>
  
  <p>I tried to reinstall it many times (with apt-get, pear, Synaptic PM...), but always get the same result.</p>