Last active
August 29, 2015 13:56
-
-
Save zacksleo/8997058 to your computer and use it in GitHub Desktop.
PEAR下安装PHPUnit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 首先安装PEAR,安装完毕后依次执行以下命令 | |
| */ | |
| pear upgrade-all | |
| pear channel-discover pear.phpunit.de | |
| pear channel-discover components.ez.no | |
| pear channel-discover pear.symfony-project.com | |
| pear update-channels | |
| ------------------------ | |
| pear install --alldeps --force phpunit/PHPUnit |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果安装不成功,尝试使用以下两行命令:
pear clear-cache
pear install -a -f phpunit/PHPUnit