Installing PHP Pear and Pecl for Mac OS X
The Tutorial Simply Shows You Step-by-Step How-to Install the PHP 5 Pear and Pecl on Mac 10.9 Mavericks OS X.
PEAR is short for “PHP Extension and Application Repository“. PEAR is a framework and distribution system for reusable PHP components.
PECL is short for “PHP Extension Community Library“. PECL Extensions are also distributed as packages and can be installed using the PEAR installer with the PECL command.
Open Terminal Window
(Press “Enter” to Execute Commands)
Installing PHP Pear+Pecl
If Got “User is Not in Sudoers file” then Look: Solution
curl -O http://pear.php.net/go-pear.phar
php -d detect_unicode=0 go-pear.phar
How-to Getting-Started with MongoDB on Mac OS X: