1

So I am working in Larry Ullman's PHP 5 Advanced book and Chapter 4 has me using PEAR to install Auth and DB (even though DB package has been deprecated). So I had to pause and do some tutorials on PEAR, because I have never used it before.

In the midst of checking out and testing the install / uninstall commands I came across this error when trying to re install Auth, DB and a couple of others:

    No releases available for package "pear.php.net/Auth"
    install failed

I only get this error with those select few packages. All others I can uninstall and re install all day long. I have tried ever install/uninstall [options] cobination I can come up with, but still receive this message when trying to install. Any ideas?

4

1 に答える 1

1

キャッシュをクリアしてから、パッケージを再インストールしてみてください。

$ pear clear-cache
$ pear install auth
于 2012-08-14T06:49:50.260 に答える