#23520 [Opn->Fbk]: PEAR Remote calls do not use Proxy Setting

From: Date: Wed, 07 May 2003 06:41:11 +0000
Subject: #23520 [Opn->Fbk]: PEAR Remote calls do not use Proxy Setting
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15975@lists.php.net to get a copy of this message
ID: 23520 Updated by: arnaud@php.net Reported By: aashley at optimiser dot com -Status: Open +Status: Feedback Bug Type: PEAR related Operating System: Gentoo Linux (2.4.20) PHP Version: 4.3.1 New Comment: I've just checked with yesterday snapshot and it works well, proxy settings are honoured. Can you try latest cvs and give us feedback ? <offtopic> seeing your proxy address, would you happen to live in perth ? </offtopic> Previous Comments: ------------------------------------------------------------------------ [2003-05-06 20:52:32] aashley at optimiser dot com I do all my development on an internal box who's only http access is through the network proxy. RPCs in the pear commandline program do not honour the http_proxy setting in pear and try to connect directly. This needless to say fails every time, as it is blocked by our firewall. Downloading of packages however does work and honours the proxy settings. For Example: This works: dt-pc0144 root # pear install Pager downloading Pager-1.0.7.tgz ... ...done: 4,591 bytes install ok: Pager 1.0.7 This however doesnt: dt-pc0144 root # pear list-all PEAR_Remote::call: fsockopen(`pear.php.net', 80) failed Below is my pear configuration and list of installed PEAR packages: dt-pc0144 root # pear config-show Configuration: ============== +--------------------------------+-----------------+-------------------------------------+ | PEAR executables directory | bin_dir | /usr/bin | PEAR documentation directory | doc_dir | /usr/share/pear/docs | | PHP extension directory | ext_dir | ./ | | PEAR directory | php_dir | /usr/share/pear | | PEAR Installer cache directory | cache_dir | /tmp/pear/cache | | PEAR data directory | data_dir | /usr/share/pear/data | | PHP CLI/CGI binary | php_bin | /usr/bin/php | | PEAR test directory | test_dir | /usr/share/pear/tests | | Cache TimeToLive | cache_ttl | 3600 | | Preferred Package State | preferred_state | stable | | Unix file mask | umask | 22 | | Debug Log Level | verbose | 1 | | HTTP Proxy Server Address | http_proxy | http://proxy.perth.optimiser.com.au | | | | :3128/ | | PEAR server | master_server | pear.php.net | | PEAR password (for | password | <not set> | | maintainers) | | | | Signature Handling Program | sig_bin | /usr/bin/gpg | | Signature Key Directory | sig_keydir | /usr/etc/pearkeys | | Signature Key Id | sig_keyid | <not set> | | Package Signature Type | sig_type | gpg | | PEAR username (for | username | <not set> | | maintainers) | | | +--------------------------------+-----------------+-------------------------------------+ Installed packages: =================== +----------------------+----------+--------+ | Package | Version | State | | Archive_Tar | 1.0 | stable | | Console_Getopt | 1.0 | stable | | DB | 1.4b1 | beta | | HTML_QuickForm | 3.0Beta1 | beta | | HTML_Table | 1.4 | stable | | HTTP | 1.2 | stable | | Mail | 1.0.2 | stable | | Mail_Mime | 1.2.1 | stable | | Net_SMTP | 1.2.2 | stable | | Net_Socket | 1.0.1 | stable | | PEAR | 1.0.1 | stable | | PEAR_Info | 1.0.3 | stable | | Pager | 1.0.7 | stable | | PhpDocumentor | 1.2.0rc1 | beta | | Spreadsheet_Excel_Wr | 0.3 | beta | | iter | | | | XML_Parser | 1.0.1 | stable | | XML_RPC | 1.0.4 | stable | +----------------------+----------+--------+ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23520&edit=1

« previous php.pear.dev (#15975) next »