真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

php5.5.38增加mysqli擴(kuò)展

編譯的時(shí)候正常:

我們提供的服務(wù)有:成都做網(wǎng)站、成都網(wǎng)站建設(shè)、微信公眾號(hào)開(kāi)發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認(rèn)證、華容ssl等。為成百上千企事業(yè)單位解決了網(wǎng)站和推廣的問(wèn)題。提供周到的售前咨詢和貼心的售后服務(wù),是有科學(xué)管理、有技術(shù)的華容網(wǎng)站制作公司

./configure --prefix=/usr/local/MySQLi --with-php-config=/usr/local/php/bin/php-config --with-mysqli=/usr/local/mysql/bin/mysql_config

在make的時(shí)候報(bào)以下錯(cuò)誤:

/usr/local/mysql/include/mysql/my_config.h:1147:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/local/php/include/php/TSRM/tsrm_config.h:1,
                 from /usr/local/php/include/php/TSRM/tsrm_config_common.h:13,
                 from /usr/local/php/include/php/TSRM/tsrm_virtual_cwd.h:27,
                 from /usr/local/php/include/php/main/php.h:401,
                 from /usr/local/php-5.5.38/ext/mysqli/mysqli_api.c:29:
/usr/local/php/include/php/main/../main/php_config.h:2113:1: warning: this is the location of the previous definition
/usr/local/php-5.5.38/ext/mysqli/mysqli_api.c:36:47: error: ext/mysqlnd/mysql_float_to_double.h: No such file or directory
make: *** [mysqli_api.lo] Error 1

解決方法:

修改 vim /usr/local/php-5.5.38/ext/mysqli/mysqli_api.c文件

將#include "ext/mysqlnd/mysql_float_to_double.h" 修改為絕對(duì)路徑:

#include "/usr/local/php-5.5.38/ext/mysqlnd/mysql_float_to_double.h"


網(wǎng)站名稱:php5.5.38增加mysqli擴(kuò)展
轉(zhuǎn)載來(lái)源:http://weahome.cn/article/gcooog.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部