I’m trying to install PHPUnit using the instructions on the official site and it only seems to install very outdated versions. I can’t even find a place to download it besides this. The archives appear to be down. How can you install PHPUnit 3.5 in Windows?
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear install phpunit/PHPUnit
On windows, this may help, if your are receiving dependency errors:
pear install -a -f phpunit/PHPUnit
There are a lot of dependencies you have to deal with to have Pear NOT forcibly install PHPUnit 3.6. Here’s what I did to get PHPUnit 3.5.15 installed: http://dustyreagan.com/downgrade-phpunit-3-6-to-3-5-15/