WebFaction
Community site: login faq

I'm attempting to install phpunit per their instructions:

  1. pear channel-discover pear.phpunit.de works
  2. pear install phpunit/PHPUnit fails, with the initial error:

phpunit/PHPUnit requires PEAR Installer (version >= 1.9.1), installed version is 1.8.0

What's my next step?

Thanks.

Update:

  1. this is on web55
  2. I've got a .pearrc file in ~
  3. PATH=/home/cesnn/php/pear/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/cesnn/bin
  4. I've been successful installing other Pear packages, e.g. Structures_DataGrid

I'm happy to reinstall or upgrade Pear, but I don't want to break what I've already got.

asked 10 Dec '10, 16:48

cesnn
93513
accept rate: 14%

edited 11 Dec '10, 16:01


Have you created a PEAR installation in your home directory using this documentation?

http://docs.webfaction.com/software/php.html#installing-and-using-pear-packages

We recently had a a ticket with a user trying to do exactly this and that resolved the issue. Remember to use the new pear binary to execute the install.

permanent link

answered 10 Dec '10, 16:57

johns
5.4k312
accept rate: 23%

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
×9

question asked: 10 Dec '10, 16:48

question was seen: 4,004 times

last updated: 11 Dec '10, 16:01

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