下载的dll应该不会错:软件是wamp,操作系统是wins64位;php版本是7.0.4;phpinfo里面Zend Extension Build:API220131226,TS,VC11;
PHP Extension Build:API20131226,TS,VC11;Thread Safety:enabled;
下载的是"php_yaf-3.0.4-7.0-ts-vc14-x64.zip";
将下载的解压缩,并把dll文件放在了bin\php\php7.0.4\ext里面,并在wampserver php选项中的php.ini添加了 extension=php_yaf.dll
在wampserver 的php extensions里面可以看到有php_yaf,且打钩了
为什么phpinfo里面查找yaf,却查询不到
真的是抱歉,我然后切换成5.6的了;phpinfo是这个Zend Extension Build:API320151012,TS,VC14;PHP Extension Build:API20151012,TS,VC14;Thread Safety:enabled;
研究出来了,还是下载错了,并不是说你的电脑是64位,就下载x64,而是看了下phpinfo的Architecture,换了一个安装包,1分钟搞定了。。