Centos7中PHP编译安装mysqli扩展报错
作者:互联网
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改为绝对路径就好了。
标签:work,mysqlnd,Centos7,ext,报错,mysqli,php 来源: https://www.cnblogs.com/greycdoer0/p/10852723.html