Probleme bei der Installation von pear.phpunit.de/PHPUni
Ich versuche zu sagen,pear
das, wo man PHPUnit mit diesem Befehl findet:
sudo pear channel-discover pear.phpunit.de
Die Ausgabe war:
Discovering channel pear.phpunit.de over http:// failed with message: channel-add: 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
)))
Ich habe die folgenden Befehle ausprobiert:
sudo pear channel-update pear.php.net
sudo pear upgrade-all
Dann lief ichchannel-discover
Befehl erneut. Ich habe den gleichen Fehler wie oben gezeigt.
Ich habe sogar diese Befehle ausprobiert:
sudo pear config-set auto_discover 1
Ausgabe
config-set succeeded
Dann habe ich diesen Befehl ausprobiert:
sudo pear install pear.phpunit.de/PHPUnit
Ausgabe
Attempting to discover channel "pear.phpunit.de"...
Attempting fallback to https instead of http on channel "pear.phpunit.de"...
unknown channel "pear.phpunit.de" in "pear.phpunit.de/PHPUnit"
invalid package name/package file "pear.phpunit.de/PHPUnit"
install failed
So besuchte ich diesen Link:https://pear.phpunit.de/channel.xml
und es zeigte410 gone
Error. Gibt es eine andere Möglichkeit, dies zu tun?