首页 新闻 会员 周边

PHPUnit安装出错

0
悬赏园豆:10 [待解决问题]
C:\WINDOWS\system32>pear channel-discover pear.phpunit.de
Discovering channel pear.phpunit.de over http:// failed with message: channel-add: Cannot open "http://pear.phpunit.de/channel.xml" (File http://pear.phpunit.de:80/channel.xml not valid (received: HTTP/1.1 410 Gone
))
Trying to discover channel pear.phpunit.de over https:// instead
Discovery of channel "pear.phpunit.de" failed (channel-add: Cannot open "https://pear.phpunit.de/channel.xml" (File https://pear.phpunit.de:443/channel.xml not valid (received: HTTP/1.1 410 Gone
)))

C:\WINDOWS\system32>pear install phpunit/PHPUnit
Attempting to discover channel "phpunit"...
Attempting fallback to https instead of http on channel "phpunit"...
unknown channel "phpunit" in "phpunit/PHPUnit"
invalid package name/package file "phpunit/PHPUnit"
install failed

我用pear安装PHPUnit的时候,一直会报如上所示的错误,百度,stackoverflow上都找了,找了很久,一直找不到解决方案,求大神帮忙解决一下

Jack Leonardo的主页 Jack Leonardo | 初学一级 | 园豆:107
提问于:2016-01-13 17:54
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册