Install Pear OS X Leopard

#1 wget -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


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s