PHPUnit Installation on WAMP gives error

I’m following below post

How to install PHPUnit with WAMP?

But i’m still getting error as below mentioned

D:wampbinphpphp5.5.12>pear channel-discover Discovering channel over http:// failed with message: channel-ad d: Cannot open "" (File :80/channel.xml not valid (received: HTTP/1.1 410 Gone )) Trying to discover channel over https:// instead Discovery of channel "" failed (channel-add: Cannot open "https:/ /" (File not valid (received: HTTP/1.1 410 Gone )))

D:wampbinphpphp5.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.

Source: wampserver

1 Comment

  1. Sebastian Bergmann

    The PEAR Installation method is no longer supported:

    Don’t look for installation instructions in outdated, unofficial places. Have a look at instead.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.