Skip to content

Instantly share code, notes, and snippets.

@jdu
Created July 30, 2012 21:04
Show Gist options
  • Save jdu/3210204 to your computer and use it in GitHub Desktop.
Save jdu/3210204 to your computer and use it in GitHub Desktop.
OSX Lion Install PEAR
# 1. Run the installer
cd /usr/lib/php
sudo php install-pear-nozlib.phar
### 2. Edit /etc/php.ini and find the line: ;include_path = ".:/php/includes" and change it to: ###
# If you don't have php.ini you should have php.ini.default run "sudo cp php.ini.default php.ini"
include_path = ".:/usr/lib/php/pear"
# 3. Update PEAR
sudo pear channel-update pear.php.net
sudo pecl channel-update pecl.php.net
sudo pear upgrade-all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment