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
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
I was trying to run ‘pear’ but I accidentally typed ‘pair’ and got command not found even though I knew ‘php-pear’ was installed. Traps for young players! I bet I’m not the last person to make that mistake…
Today I read What is PEAR? — it talks about PEAR (PHP Extension and Application Repository) and its relationship to PECL (PHP Extension Community Library).