Installing PEAR on Lion

Needed to install PEAR on Lion, as my laptop hadn’t yet needed it.  Wanted to see fi there was a way within Lion, and discovered the instructions.

sudo cp /private/etc/php.ini.default /private/etc/php.ini
php /usr/lib/php/install-pear-nozlib.phar
pear config-set php_ini /private/etc/php.ini
pecl config-set php_ini /private/etc/php.ini
sudo pear upgrade-all

One thought on “Installing PEAR on Lion”

Leave a Reply to Biguá PixeledBird Cancel reply

Your email address will not be published. Required fields are marked *