Created
          July 11, 2012 19:43 
        
      - 
      
- 
        Save emjayess/3092766 to your computer and use it in GitHub Desktop. 
    install pear on os x lion, and drush via pear channel
  
        
  
    
      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
    
  
  
    
  | ### via http://blog.stealth35.com/2011/07/27/install-pear-on-osx-lion.html | |
| # sudo cp /private/etc/php.ini.default /private/etc/php.ini | |
| sudo 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 | |
| # what about when using MAMP's php? | 
  
    
      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
    
  
  
    
  | # via http://pear.drush.org/ | |
| # registering the channel | |
| pear channel-discover pear.drush.org | |
| # listing available packages | |
| pear remote-list -c drush | |
| # installing a package (e.g. drush/drush) | |
| pear install drush/package_name | |
| # installing a specific version/stability | |
| pear install drush/package_name-1.0.0 | |
| pear install drush/package_name-beta | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
via http://blog.stealth35.com/2011/07/27/install-pear-on-osx-lion.html