Installing PHPUnit on Debian with PEAR

To install PHPUnit on Debian with PEAR:

  sudo pear channel-discover pear.phpunit.de
  sudo pear install --alldeps phpunit/PHPUnit

To see which path the command-line utility ‘phpunit’ was installed:

  sudo pear config-get bin_dir
  which phpunit

Leave a Reply