Home

How to install phpunit on Windows

Published on 8/6/2011


the PHPUnit installer appears to be written by someone with mild autism….there’s no other explanation for it.

either way, here’s how i was able to install phpunit:

open the command prompt, type: (enter for each line)

  1. pear channel-update pear.php.net
  2. pear upgrade-all
  3. pear channel-discover pear.phpunit.de
  4. pear channel-discover components.ez.no
  5. pear channel-discover pear.symfony-project.com
  6. pear update-channels
  7. pear install -a -f phpunit/PHPUnit
... views