yaf 安装我看了鸟哥的github https://github.com/laruence/yafphp
参考博客有:http://www.tuicool.com/articles/ee6beqhtml
下载: git clone https://github.com/laruence/yaf.gitnginx
肯定系统已经安装了gcc、gcc-c++、make、automake、autoconf等依赖库c++
编译安装的过程git
/data/klj/php-5.6.14/bin/phpize ./configure --with-php-config=/data/klj/php-5.6.14/bin/php-config make && make install
修改php配置文件github
vi /usr/local/php/etc/php.ini
重启phpui
yaf 已经安装完毕spa
2 生成程序代码htm
进入刚才的git目录blog
cd /data/source/yaf/tools/cg
生成程序
php yaf_cg yaf
将代码移动到nginx项目目录
mv -f output/yaf /data/www/html/yaf