Created
July 30, 2012 21:04
-
-
Save jdu/3210204 to your computer and use it in GitHub Desktop.
OSX Lion Install PEAR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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