Installing Pear on OS X 10.7 Lion

Nothing big, just need to document this stuff or else I forget…

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

Adam Merrifield

 

Leave a Reply