#23520 [NEW]: PEAR Remote calls do not use Proxy Setting

From: Date: Wed, 07 May 2003 01:52:33 +0000
Subject: #23520 [NEW]: PEAR Remote calls do not use Proxy Setting
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15972@lists.php.net to get a copy of this message
From: aashley at optimiser dot com Operating system: Gentoo Linux (2.4.20) PHP version: 4.3.1 PHP Bug Type: PEAR related Bug description: PEAR Remote calls do not use Proxy Setting 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 bug report at http://bugs.php.net/?id=23520&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23520&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23520&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23520&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23520&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23520&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23520&r=support Expected behavior: http://bugs.php.net/fix.php?id=23520&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23520&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23520&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23520&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23520&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23520&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23520&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23520&r=gnused

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