Skip to content

Instantly share code, notes, and snippets.

@ajbonner
Created February 16, 2013 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajbonner/4968980 to your computer and use it in GitHub Desktop.
Save ajbonner/4968980 to your computer and use it in GitHub Desktop.
Configure macports pear for use with PHP54
sudo pear config-set php_bin /opt/local/bin/php
sudo pear config-set php_dir /opt/local/lib/php/pear
sudo pear config-set ext_dir /opt/local/lib/php54/extensions/no-debug-non-zts-20100525
sudo pear config-set bin_dir /opt/local/bin
sudo pear config-set cfg_dir /opt/local/lib/php/pear/cfg
sudo pear config-set doc_dir /opt/local/lib/php/pear/docs
sudo pear config-set www_dir /opt/local/lib/php/pear/www
sudo pear config-set test_dir /opt/local/lib/php/pear/tests
sudo pear config-set data_dir /opt/local/lib/php/pear/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment