Cannot install pear packages
| From: | yi dot zhou at thomsonreuters dot com | Date: | Tue, 01 Jul 2008 18:26:10 +0000 |
| Subject: | Cannot install pear packages | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-29055@lists.php.net to get a copy of this message | ||
Hello,
I am developing a web php/mysql application for which I would like to
use some pear packages. I executed batch file go-pear.bat and pear was
installed on my computer. I tested different pear commands and it
worked. However, " pear list" showed only the following packages were
installed:
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE VERSION STATE
Archive_Tar 1.3.2 stable
Console_Getopt 1.2.3 stable
PEAR 1.6.1 stable
Structures_Graph 1.0.2 stable
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.
If I execute "pear remote-list", it gives the error: "Connection to
'pear.php.net:80' failed: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond". By the way, I cannot ping the server pear.php.net (always
timeout).
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".
I believe I am not unique to be behind a firewall on Windows XP and
there has to be a solution. I could be that I missed some fundamental
steps.
Your help would be very much appreciated.
Sincerely,
Yi Zhou
Thomson Reuters/West San Francisco
Sr. Software Engineer
415-344-3943