phpDocumentor: pear install not working
Hi, pear channel-discover pear.phpdoc.org is not working for me – here is the failure message:
Discovering channel pear.phpdoc.org over http:// failed with message: channel-add: Cannot open “http://pear.phpdoc.org/channel.xml” (Connection to pear.phpdoc.org:443' failed: ) Trying to discover channel pear.phpdoc.org over https:// instead Discovery of channel "pear.phpdoc.org" failed (channel-add: Cannot open "https://pear.phpdoc.org/channel.xml" (Connection topear.phpdoc.org:443’ failed: ))
Roberts-MBP:~ rcrooks$ pear channel-discover pear.phpdoc.org
Discovering channel pear.phpdoc.org over http:// failed with message: channel-add: Cannot open “http://pear.phpdoc.org/channel.xml” (Connection to pear.phpdoc.org:443' failed: ) Trying to discover channel pear.phpdoc.org over https:// instead Discovery of channel "pear.phpdoc.org" failed (channel-add: Cannot open "https://pear.phpdoc.org/channel.xml" (Connection topear.phpdoc.org:443’ failed: ))
I’m not a PHP pro by any means, so not sure where to go from here.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 60 (16 by maintainers)
After some more experimentation, I found that the following workaround works:
My current conclusion would be that the PEAR installer does not seem to like redirects from http to https?
this worked for me. Thank you!
@jaapio Thanks, tried with sudo but still get Cannot open “http://pear.phpdoc.org/channel.xml” (Connection to `pear.phpdoc.org:443’ failed: )
If I try to ping that address, it also fails.
@Hector-Aguilar-STD weird, you are right, but that folder is writeable by most other things. Interesting. Well it’s mostly installed now I guess, I’ll just need to play with things to get the permissions right.