首页 > 数据库技术 > 详细

在安装mysqli的时候,出现error: ext/mysqlnd/mysql_float_to_double.h: No such file or directory

时间:2018-04-04 17:17:51      阅读:245      评论:0      收藏:0      [点我收藏+]

/application/php5.5.28/include/php/main/../main/php_config.h:2113:1: warning: this is the location of the previous definition/home/neo/tools/php-5.5.28/ext/mysqli/mysqli_api.c:36:47: error: ext/mysqlnd/mysql_float_to_double.h: No such file or directorymake: *** [mysqli_api.lo] Error 1
我的解决方法:
直接修改源码,把找不到的那个头文件的路径修改为绝对路径,编译通过了,也能正常使用

# pwd
/home/neo/tools/php-5.5.28/ext/mysqli
# vim mysqli_api.c

把第36行的

#include “ext/mysqlnd/mysql_float_to_double.h”
修改为
#include “/home/neo/tools/php-5.5.28/ext/mysqlnd/mysql_float_to_double.h”

在安装mysqli的时候,出现error: ext/mysqlnd/mysql_float_to_double.h: No such file or directory

原文:https://www.cnblogs.com/linuxde/p/8718181.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!