Category : MAC

Open current folder in iTerm

2014-12-04MAC Standard

看到一个Alfred workflows,在终端中打开finder当前目录,依样画葫芦撸了个在iTerm中打开Read more

mac下安装oci8扩展来支持php连接oracle

2014-05-21MAC, PHP Standard

下载oci8扩展包:
http://pecl.php.net/package/oci8

cd到解压目录执行phpize,发现错误,

错误提示:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

解决方法:
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-latest.tar.gztar xzf autoconf-latest.tar.gz
cd autoconf-*./configure –prefix=/usr/local
make
sudo make install

Read more