Closed Leon2012 closed 7 years ago
php -i | grep configure 贴一下吧, 其中有mysqli扩展吗?
编译PHP时,./configure参数中务必要加入
--enable-mysqlnd --with-mysqli
@silkcutKs 环境 macOS 10.12.6 & php7.1.7
错误信息: In file included from /Users/york/Downloads/Molten/molten.c:24: In file included from ./php_molten.h:35: In file included from ./molten_chain.h:34: ./molten_log.h:31:10: fatal error: 'error.h' file not found
^
1 error generated. make: *** [molten.lo] Error 1
@yyork 我来处理一下
添加mysqlnd的检查
example中启动添加docker的方式
@Leon2012 没有mysqlnd 也可以build通过了。 @yyork macos 上build已经支持,可以尝试build了
@silkcutKs 谢谢,已build成功。
环境: vagrant&ubuntu14.04 & php5.6.29
错误信息: In file included from /home/vagrant/Molten/molten_intercept.c:18:0: /usr/local/webserver/php5629/include/php/ext/mysqli/php_mysqli_structs.h:63:23: fatal error: my_global.h: No such file or directory