tokyo_tyrant 还是beta 版,freebsd 的 ports 还没有,有点不爽,用 pecl 安装吧,

pecl install tokyo_tyrant

pecl: Command not found.

先安装 pear 呵呵

cd /usr/ports/devel/pear
make install clean





pecl install tokyo_tyrant
Failed to download pecl/tokyo_tyrant within preferred state "stable", latest release is version 0.1.2, stability "beta", use "channel://pecl.php.net/tokyo_tyrant-0.1.2" to install
install failed

还是不行,要加入beta 才行哦

pecl install tokyo_tyrant-beta
ee /usr/local/etc/php/extensions.ini
加入 
extension=tokyo_tyrant.so

OK 安装完成 重起php进程,用phpinfo 查看一下 freebsd 真是太强大了,喜欢哦!