如何通过PEAR安装旧版本的PHPUnit? [英] How to install an older version of PHPUnit through PEAR?

查看:88
本文介绍了如何通过PEAR安装旧版本的PHPUnit?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将PHPUnit 3.4的安装降级为3.3.我只是不确定该怎么做.

I would like to downgrade my installation of PHPUnit 3.4 to 3.3. I'm just not sure how to do it.

如何使用PEAR在Ubuntu上安装3.3版本的PHPUnit?

How do I install version 3.3 of PHPUnit on Ubuntu using PEAR?

推荐答案

您需要知道要降级到的确切版本号.在撰写本文时,您需要的最后一个发行版是3.3.17,可以通过检查相应的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 uninstall phpunit/PHPUnit
  • pear install phpunit/PHPUnit-3.3.17

这篇关于如何通过PEAR安装旧版本的PHPUnit?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆