Mac安装PECL
可以参考官方的页面 http://pear.php.net/manual/en/installation.getting.php
安装pear,其中包含pecl:
$ wget http://pear.php.net/go-pear.phar
$ sudo php -d detect_unicode=0 go-pear.phar
使用pecl安装模块:
$ sudo ~/pear/bin/pecl install mongo
可以参考官方的页面 http://pear.php.net/manual/en/installation.getting.php
安装pear,其中包含pecl:
$ wget http://pear.php.net/go-pear.phar
$ sudo php -d detect_unicode=0 go-pear.phar
使用pecl安装模块:
$ sudo ~/pear/bin/pecl install mongo