请你一定不要停下来成为你想成为的人
           --Please don't stop to be who you want to be

yaf拓展安装步骤

 

1.wget http://pecl.php.net/get/yaf-3.0.7.tgz

//下载yaf.tar

2.tar zxvf yaf-3.0.7.tgz

//解压

3.cd yaf-3.0.7

4.****/phpize

//通过使用安装 php 时生成的 phpize 来生成 configure 配置文件

//如果找不到phpizefind路径在运行

5../configure --with-php-config=*****/php-config

//如果找不到php-configfind路径在运行

6.make

7.vim php.ini 添加 (extension=yaf.so) 这一句

8.重启 apache/nginx php-fpm

//重启php-fpmerror:找不到yaf.so

//解决:先find yaf.so然后将yaf.so cpoy到错误中的路径

 

phpinfo查看安装情况

posted on 2019-03-25 13:33  刘宽宇  阅读(534)  评论(0编辑  收藏  举报

导航