Req #17479 [Opn]: should use the system wide http proxy setting on *nix
| From: | ken at linux dot ie | Date: | Thu, 10 Jun 2010 00:08:48 +0000 |
| Subject: | Req #17479 [Opn]: should use the system wide http proxy setting on *nix | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3917@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17479&edit=1
ID: 17479
Updated by: ken@linux.ie
Reported By: ken at linux dot ie
Summary: should use the system wide http proxy setting on *nix
Status: Open
Type: Feature/Change Request
Package: PEAR
Operating System: *nix
Package Version: 1.9.1
PHP Version: 5.2.6
Roadmap Versions:
New Comment:
Three possible types of values for http_proxy could be used:
<not set> or null - don't use a proxy at all
'inherit' - use proxy specified by the http_proxy environment variable
<set> e.g. http://192.168.1.2:128 - use specified proxy
if people want to have a system proxy but have none for their pear
install then the solution would be to do:
$ pear config-set http_proxy ''
The default setting would be to inherit the value from the environment
variable.
Previous Comments:
------------------------------------------------------------------------
[2010-06-09 19:17:47] dufuz
-Type: Bug
+Type: Feature/Change Request
This is not a bug, this is a feature request.
How do you propose this be done? The option here is to just look for
the http_proxy
and always use it if it's around, but what about when people want to
have a system
proxy but none set for pear?
The option for that would be to import that http proxy from the system
on installation
but then it would be hard to keep them in sync automagically.
------------------------------------------------------------------------
[2010-06-09 16:54:44] kguest
Description:
------------
On *nix systems [the cli tool] should use the system wide proxy setting
as set thus:
$export http_proxy='http://192.168.1.2:3128/'
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17479&edit=1