FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17479&edit=1

ID: 17479
Updated by: helgith@gmail.com
Reported By: ken at linux dot ie
Summary: should use the system wide http proxy setting on *nix
Status: Open
-Type: Bug
+Type: Feature/Change Request
Package: PEAR
Operating System: *nix
Package Version: 1.9.1
PHP Version: 5.2.6
Roadmap Versions:
New Comment:

-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.


Previous Comments:
------------------------------------------------------------------------

[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/'

------------------------------------------------------------------------

Search Discussions

  • Ken at Jun 9, 2010 at 11:16 pm
    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/'

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJun 9, '10 at 6:25p
activeJun 9, '10 at 11:16p
posts2
users2
websitepear.php.net

2 users in discussion

Helgith: 1 post Ken: 1 post

People

Translate

site design / logo © 2022 Grokbase