GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
I'm using php 5.3.2 and pyrus 2.0.0a3. I have also tried with php 5.3.8.
pyrus set http_proxy fqdn:port
I run tcpdump on the http proxy server and this is what I get when trying to install a package:
GET /rest/p/pear2_net_transmitter/info.xml HTTP/1.0
Our squid3 proxy doesn't accept that. It wants to have it like this:
GET http://pear2.php.net/rest/p/pear2_net_transmitter/info.xml HTTP/1.0
I believe this is a bug in pyrus.
Should be fixed now. Thanks your help tacking down the bug
I'm getting this problem with the 2.0.0a4 release.
GET /rest/p/pyrus_developer/info.xml HTTP/1.0
Further digging I've found that, although the problem is fixed with PEAR2_HTTP_Request-0.3.1, Pyrus is still bundled with 0.3.0. The github repo for PEAR2_HTTP_Request has no 0.3.1 tag, but its master branch does include the fix we need for this issue.
Pull request 138 adds the correct version of PEAR2_HTTP_Request.