tags:

views:

29

answers:

2

I saw this thread which is exactly what I've done as well, Downgraded PHP to version 5.2 on Ubuntu 10.4

When running as root I just get the download, no install message, any thoughts?

pear install Mail_Mime-1.8.0.tgz
downloading Mail_Mime-1.8.0.tgz ...
Starting to download Mail_Mime-1.8.0.tgz (31,292 bytes)
.........done: 31,292 bytes

I've looked in the phpinfo() and see nothing except the pear path

include_path    .:/usr/share/php:/usr/share/pear    .:/usr/share/php:/usr/share/pear

running pear list I get this

pear list
Installed packages, channel pear.php.net:
=========================================
Package          Version State
Archive_Tar      1.3.3   stable
Console_Getopt   1.2.3   stable
PEAR             1.9.0   stable
Structures_Graph 1.0.2   stable
XML_Util         1.2.1   stable
A: 

please manual download Mail_Mime files and extract to /usr/share/pear/

john misoskian
do I have to do this because I downgraded PHP? Shouldn't PEAR install these by running the PEAR INSTALL <package> command?
Phill Pafford
A: 

Found a work around, not the best solution but it works. Using the Ubuntu Download Center, search for pear and install the needed packages. Most are listing with a prepending php-

php-mail
Phill Pafford