Centos7中PHP编译安装mysqli扩展报错
时间:2019-05-12 16:52:58
收藏:0
阅读:447
In file included from /home/work/php-7.2.6/ext/mysqli/mysqli.c:34:0:
/home/work/php-7.2.6/ext/mysqli/php_mysqli_structs.h:42:33: fatal error: ext/mysqlnd/mysqlnd.h: No such file or directory
#include "ext/mysqlnd/mysqlnd.h"
报错说是php_mysqli_structs.h这个文件中的这条路径ext/mysqlnd/mysqlnd.h不对
解决办法:
将ext/mysqlnd/mysqlnd.h改为绝对路径就好了。
原文:https://www.cnblogs.com/greycdoer0/p/10852723.html
评论(0)