Install Pear OS X Leopard

#1 wget http://pear.php.net/go-pear -O go-pear.php

#2 php go-pear.php

#3 Change the installation directory to whatever you would like and edit settings as appropriate.

#4 Allowed edit to php.ini to add the PEAR directory to the path in php.ini.

#5 Now you can run pear commands assuming you edited your PATH to include the PEAR installation directory.

pear -V

Now you can add pear packages with pear install command

How to install the pear package: HTML_QuickForm

#1 pear install HTML_QuickForm

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s