MacOS X - Install PECL
curl -O  http://pear.php.net/go-pear.phar
sudo php -d detect_unicode=0 go-pear.phar
1 : /usr/local/pear
4 : /usr/local/bin
nano ~/.bash_profile
export PATH="/usr/local/pear/share/pear:$PATH"
export PATH="/usr/local/pear/bin:$PATH"
pear version