How-to Install PHP 5 Pear and Pecl on Mac Mavericks 10.9 OS X Easy Guide

April 17th, 2014 by Mark Goo

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.

Installing PHP Pear and Pecl for Mac OS X - Featured
  1. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Installing PHP Pear and Pecl for Mac OS X - Open Terminal
  2. Installing PHP Pear+Pecl

    sudo su

    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
    exit
  3. Check Installation

    which pear
    which pecl
  4. How-to Getting-Started with MongoDB on Mac OS X:

    MogoDB Installation for Mac

Tags: , , , , , , , , , , , ,