Search code examples
phpunitpear

How to install libraries with pear when no release is available


This is not the first time I experience something like that. This time it was with PHPunit.

I wanted to install the library using pear..

pear config-set auto_discover 1
pear install pear.phpunit.de/PHPUnit

The installation fails saying :

No releases available for package "pear.phpunit.de/PHPUnit"

What can I do ?

Thank you

Note :

pear upgrade says that I have the latest version

pear update-channels says that I am up to date

Note2 : I am at work so behing a proxy

Note3: using windows OS


Solution

  • I found it in another post. the cache has to be cleared.

    pear clear-cache