【发布时间】:2020-02-21 09:35:13
【问题描述】:
我看到了:Installing phpDocumentor using PEAR (2013) 而且我使用了官方文档:https://docs.phpdoc.org/latest/getting-started/installing.html 我试试这个问题:https://github.com/phpDocumentor/phpDocumentor/issues/2113
来自文档:
当我尝试时:
1 | pear channel-discover pear.phpdoc.org
2 | pear install phpdoc/phpDocumentor
结果:
1 | Channel "pear.phpdoc.org" is already initialized
2 | No releases available for package "pear.phpdoc.org/phpDocumentor"
2 | install failed
来自问题:
让我们试试问题:
1 | wget https://pear.phpdoc.org/channel.xml
2 | pear channel-update ./channel.xml
3 | pear install http://pear.phpdoc.org/get/phpDocumentor-2.9.0.tgz
结果:
1 | 200 OK
1 | « channel.xml.1 » saved
2 | Update of Channel "pear.phpdoc.org" succeeded
3 | phpDocumentor-2.9.0.tgz
3 | Could not download from "http://pear.phpdoc.org/get/phpDocumentor-2.9.0.tgz" (File
3 | http://pear.phpdoc.org:80/get/phpDocumentor-2.9.0.tgz not valid (received: HTTP/1.1 308 Permanent 3 3 | Redirect))
3 | Invalid or missing remote package file
3 | install failed
【问题讨论】:
标签: windows cmd installation command cygwin