WAMP上的PHPUnit安装出现错误 [英] PHPUnit Installation on WAMP gives error

查看:79
本文介绍了WAMP上的PHPUnit安装出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在下面的帖子中关注

如何在WAMP中安装PHPUnit?

http://nishutayaltech.blogspot.in/2011 /04/installing-phpunit-on-windows.html

但是我仍然收到如下所述的错误

But i'm still getting error as below mentioned

D:\wamp\bin\php\php5.5.12>pear channel-discover pear.phpunit.de Discovering channel pear.phpunit.de over http:// failed with message: channel-ad d: 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 )))

D:\wamp\bin\php\php5.5.12>pear install --alldeps 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_ENV.reg文件.

Unable to find PEAR_ENV.reg file as well.

推荐答案

转到安装PHP单元和该窗口部分. :)这可能对您有用...

Go to Install PHP UNIT and in that windows section. :) This may useful to you...

这篇关于WAMP上的PHPUnit安装出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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