Cannot find PHPUnit in include path (.;C:\php5\pear)

--pear channel-discover pear.phpunit.de
--pear install phpunit/PHPUnit
此时会显示:
No valid packages found
install failed
(安装phpunit失败,此时通过pear upgrade pear更新pear后继续安装)
--pear upgrade pear
--pear info pear
--pear channel-discover pear.phpunit.de
--pear install phpunit/PHPUnit
至此完成,最终显示:
install ok: channel://pear.phpunit.de/PHPUnit-3.4.13

posted @ 2015-10-31 11:08  无为有道  阅读(867)  评论(0编辑  收藏  举报