Re: Cannot install pear packages
| From: | Brett Bieber | Date: | Tue, 01 Jul 2008 18:41:35 +0000 |
| Subject: | Re: Cannot install pear packages | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29057@lists.php.net to get a copy of this message | ||
On Tue, Jul 1, 2008 at 1:26 PM, <yi.zhou@thomsonreuters.com> wrote:
> I need to install several other packages including db,
> html_template_it,, etc. but always got error "Cannot initialize
> 'channel:/pear/php.net/packagename ... install failed' ". I know I am
> behind a firewall and I executed "pear config-set http_proxy
> webproxy.int.westgroup.com" but still no hope.
I think you're just missing the http:// on the command.
When you are behind a proxy, you can export the HTTP_PROXY variable,
or set http_proxy using:
pear config-set http_proxy http://user:pass@domain:port
> I did extensive research online and could not found a solution. I tried
> to manually download a package from pear.php.net site but surprised to
> see only unix tar files were provided I am on Windows XP computer). Are
> there win zipped files downloadable for Windows platform? Nevertheless,
> I did downloaded a tar file to a Unix server, but when I tried to
> extract it, it gave me "directory checksum error".
You can download an install packages locally using: pear install Package.tgz
--
Brett Bieber
http://saltybeagle.com/