1. install 参考
http://qinx.cn/zephir-installation-and-usage-centos6/
re2c 下载wget http://downloads.sourceforge.net/project/re2c/0.16/re2c-0.16.tar.gz
2. 使用例子
http://www.codefrom.com/c/87
3.问题
zephir build 运行报错,确保 安装了 re2c(在https://sourceforge.net/ 搜索下载),phpize php-config 的路径 这些加入到.bash_profile 的path里面,这样能找到