PHPUnit Installation on WAMP gives error

北城余情 提交于 2019-12-11 15:06:57

问题


I'm following below post

How to install PHPUnit with WAMP?

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

Unable to find PEAR_ENV.reg file as well.


回答1:


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



来源:https://stackoverflow.com/questions/31627208/phpunit-installation-on-wamp-gives-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!