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