Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


Sorry in advance - I'm pretty naive when it comes to these things.

Anyway, I'm trying to install the Pear Mail module.

So, from the command line, I try this:

pear install --alldeps Mail

Here's the error I receive:

WARNING: channel "" has updated its protocols, use "channel-update" to update
pear/Mail requires PEAR Installer (version >= 1.5.6), installed version is 1.5.0
No valid packages found
install failed

So, to upgrade the installer, I tried this:

pear upgrade PEAR

Here's the message I receive:

WARNING: channel "" has updated its protocols, use "channel-update" to update
pear/Archive_Tar requires PEAR Installer (version >= 1.5.4), installed version is 1.5.0
pear/PEAR dependency package "pear/Archive_Tar" installed version 1.3.2 is not the recommended version 1.3.7, but may be compatible, use --force to install
No valid packages found
upgrade failed

What should I try next to upgrade the installer to at least 1.5.6?

Many thanks in advance!

Cheers, Matt Stuehler

share|improve this question

First: pear upgrade --force pear

Then: pear install --alldeps Mail

This just worked for me on MT (dv) 3.5.

share|improve this answer

Not sure if this applies to (dv) as well, but on (gs) one has to set the command line to PHP 5 instead of the default of 4 for PEAR to work:

Note that this action is different from setting the PHP version of your domains inside the MT control panel.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.