1.安装yaf

打模块

 /usr/local/php/bin/phpize

./configure --with-php-config=/usr/local/bin/php-config

make && make install


2.php.ini  添加 extension=yaf.so

打印phpinfo() 查看是否成功


3.生成代码

php.ini中 添加  yaf.environ="product"

web/tools/cg/yaf_cg   example 执行生成代码

要使用全局库php.ini中也要设置

yaf.library='路径';


windows下安装同理 下载yaf.dll 安装扩展,dos下生成代码,

yaf 安装


转载于:https://my.oschina.net/jixm/blog/95482

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2021-08-09
  • 2021-11-28
  • 2022-03-10
  • 2021-10-18
  • 2021-10-02
猜你喜欢
  • 2021-09-13
  • 2021-10-03
  • 2021-12-23
  • 2022-02-27
  • 2022-12-23
  • 2022-01-22
相关资源
相似解决方案