Page 1 of 1

Installing Pear-JSON package on Ubuntu

Posted: Mon Jul 09, 2007 1:18 pm
by ^rooker
I wanted to install the PEAR JSON package on an existing installation of Ubuntu Server 6.06.

Running "pear search json" complained about pear.php.net having changed their protocol, so I did a:

Code: Select all

pear channel-update pear.php.net
Still the search did not list any results, so I wanted to update my package infos.

Code: Select all

pear update-channels
This gave me an error, telling me to install XML_RPC. So I did.

Code: Select all

pear install XML_RPC
Now I ran "pear update-channels" again, getting:
server error. method not found
So I updated the PEAR installation itself: