WebFaction
Community site: login faq

I'm trying to install the PEAR package XML_RPC2, following the Webfaction doc instructions. I don't end up with the package and here is the output of my command

pear install XML_RPC2 WARNING: "pear/Console_Getopt" is deprecated in favor of "pear/Console_GetoptPlus" pear/HTTP_Request2 requires PEAR Installer (version >= 1.9.2), installed version is 1.9.1 pear/HTTP_Request2 can optionally use PHP extension "fileinfo" pear/XML_RPC2 requires package "pear/HTTP_Request2" (version >= 2.0.0) pear/Console_Getopt requires PHP (version >= 5.4.0), installed version is 5.2.17 pear/PEAR requires package "pear/Console_Getopt" (recommended version 1.2.3) pear/Cache_Lite requires package "pear/PEAR" downloading Net_URL2-2.2.0.tgz ... Starting to download Net_URL2-2.2.0.tgz (19,908 bytes) .......done: 19,908 bytes install ok: channel://pear.php.net/Net_URL2-2.2.0

Are these issues specific to the Webfaction environment, or do I need to look elsewhere? An old question in this forum indicates the PEAR binaries may be out of date. Could that still be the problem years later?

asked 13 Jun '15, 15:08

bvbb
11315
accept rate: 0%


You may want to try a newer version like the following.

$ pear56 install XML_RPC2

downloading XML_RPC2-1.1.2.tgz ...
Starting to download
XML_RPC2-1.1.2.tgz (67,331 bytes)
.................done: 67,331 bytes
downloading HTTP_Request2-2.2.1.tgz
... Starting to download
HTTP_Request2-2.2.1.tgz (107,339
bytes) ...done: 107,339 bytes
downloading Cache_Lite-1.7.16.tgz ...
Starting to download
Cache_Lite-1.7.16.tgz (32,997 bytes)
...done: 32,997 bytes install ok:
channel://pear.php.net/HTTP_Request2-2.2.1
install ok:
channel://pear.php.net/Cache_Lite-1.7.16
install ok:
channel://pear.php.net/XML_RPC2-1.1.2

That should allow you to configure the include path.

permanent link

answered 13 Jun '15, 16:26

aaront ♦♦
7664
accept rate: 27%

Thanks, your approach works perfectly. Suggestion: Include up to date PEAR and PECL info in the PHP chapter of the Software Documentation

(16 Jun '15, 12:41) bvbb
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×262
×44
×9
×4

question asked: 13 Jun '15, 15:08

question was seen: 2,749 times

last updated: 16 Jun '15, 15:08

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM