How to install an older version of PHPUnit through PEAR?(如何通过 PEAR 安装旧版本的 PHPUnit?)
问题描述
I would like to downgrade my installation of PHPUnit 3.4 to 3.3. I'm just not sure how to do it.
How do I install version 3.3 of PHPUnit on Ubuntu using PEAR?
You need to know the exact version number you wish to downgrade to. At the time of writing, the last release you're after is 3.3.17, which can be found out by checking the appropriate PEAR channel.
To downgrade to that particular version execute two commands:
pear uninstall phpunit/PHPUnit
pear install phpunit/PHPUnit-3.3.17
这篇关于如何通过 PEAR 安装旧版本的 PHPUnit?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!