Quantcast
Channel: Web Host
Viewing all articles
Browse latest Browse all 31

Installing PEAR on OSX 10.8 Mountain Lion

$
0
0

Installing PEAR on OSX 10.8 Mountain Lion

Check if you have it

pear version

If not, move into:

cd /usr/local

Get it

curl -O  http://pear.php.net/go-pear.phar

Install It

sudo php -d detect_unicode=0 go-pear.phar

Click yes a couple of times during the install

pear-mountain-lion-osx

Add PEAR to your PATH

cd 

vi .bashrc

or 

vi .bash_profile

Add in to your PATH variable:

/Users/USERNAME/pear/bin

Refresh

source .bash_profile

Verify

pear version

Output should be

PEAR Version: 1.9.4
PHP Version: 5.3.15
Zend Engine Version: 2.3.0
Running on: Darwin neils-iMac.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
 
Thats PEAR installed and ready.

 


Viewing all articles
Browse latest Browse all 31

Trending Articles