mac 安装 pecl

  • 发布时间 2014-04-15
  • 分类 php
cd /usr/lib/php
sudo php install-pear-nozlib.phar

修改/etc/php.ini bash include_path = ".:/usr/lib/php/pear"

更新频道 bash sudo pear channel-update pear.php.net sudo pecl channel-update pecl.php.net sudo pear upgrade-all