curl -O http://pear.php.net/go-pear.phar sudo php -d detect_unicode=0 go-pear.phar
Configure and Install PEAR
You should now be at a prompt to configure PEAR.
Type 1 and press return.
Type 4 and press return.
You should be able to type:
Eventually, if you use any extensions or applications from PEAR, you may need to update PHP's include path.
Find this interesting? Let's continue the conversation on Twitter.