[转帖]php mysqli扩展安装出错 _MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2469 | 回复: 0   主题: [转帖]php mysqli扩展安装出错         下一篇 
weiyongg
注册用户
等级:新兵
经验:66
发帖:7
精华:0
注册:2013-7-25
状态:离线
发送短消息息给weiyongg 加好友    发送短消息息给weiyongg 发消息
发表于: IP:您无权察看 2015-1-5 11:35:24 | [全部帖] [楼主帖] 楼主

[root@localhost mysqli]# ./configure  --with-php-config=/home/wcitywap/php/bin/php-config --with-mysqli=/usr/local/webserver/mysql/bin/mysql_config
[root@localhost mysqli]# make
/bin/sh /data0/software/php-5.3.8/ext/mysqli/libtool --mode=compile cc  -I. -I/data0/software/php-5.3.8/ext/mysqli -DPHP_ATOM_INC -I/data0/software/php-5.3.8/ext/mysqli/include -I/data0/software/php-5.3.8/ext/mysqli/main -I/data0/software/php-5.3.8/ext/mysqli -I/home/wcitywap/php/include/php -I/home/wcitywap/php/include/php/main -I/home/wcitywap/php/include/php/TSRM -I/home/wcitywap/php/include/php/Zend -I/home/wcitywap/php/include/php/ext -I/home/wcitywap/php/include/php/ext/date/lib -I/usr/local/webserver/mysql/include/mysql  -DHAVE_CONFIG_H  -g -O2   -c /data0/software/php-5.3.8/ext/mysqli/mysqli.c -o mysqli.lo
mkdir .libs
cc -I. -I/data0/software/php-5.3.8/ext/mysqli -DPHP_ATOM_INC -I/data0/software/php-5.3.8/ext/mysqli/include -I/data0/software/php-5.3.8/ext/mysqli/main -I/data0/software/php-5.3.8/ext/mysqli -I/home/wcitywap/php/include/php -I/home/wcitywap/php/include/php/main -I/home/wcitywap/php/include/php/TSRM -I/home/wcitywap/php/include/php/Zend -I/home/wcitywap/php/include/php/ext -I/home/wcitywap/php/include/php/ext/date/lib -I/usr/local/webserver/mysql/include/mysql -DHAVE_CONFIG_H -g -O2 -c /data0/software/php-5.3.8/ext/mysqli/mysqli.c  -fPIC -DPIC -o .libs/mysqli.o
In file included from /usr/local/webserver/mysql/include/mysql/my_global.h:85,
from /data0/software/php-5.3.8/ext/mysqli/php_mysqli_structs.h:61,
from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:33:
/usr/local/webserver/mysql/include/mysql/my_config.h:1202:1: warning: "PACKAGE_NAME" redefined
In file included from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:24:
/data0/software/php-5.3.8/ext/mysqli/config.h:56:1: warning: this is the location of the previous definition
In file included from /usr/local/webserver/mysql/include/mysql/my_global.h:85,
from /data0/software/php-5.3.8/ext/mysqli/php_mysqli_structs.h:61,
from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:33:
/usr/local/webserver/mysql/include/mysql/my_config.h:1205:1: warning: "PACKAGE_STRING" redefined
In file included from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:24:
/data0/software/php-5.3.8/ext/mysqli/config.h:59:1: warning: this is the location of the previous definition
In file included from /usr/local/webserver/mysql/include/mysql/my_global.h:85,
from /data0/software/php-5.3.8/ext/mysqli/php_mysqli_structs.h:61,
from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:33:
/usr/local/webserver/mysql/include/mysql/my_config.h:1208:1: warning: "PACKAGE_TARNAME" redefined
In file included from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:24:
/data0/software/php-5.3.8/ext/mysqli/config.h:62:1: warning: this is the location of the previous definition
In file included from /usr/local/webserver/mysql/include/mysql/my_global.h:85,
from /data0/software/php-5.3.8/ext/mysqli/php_mysqli_structs.h:61,
from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:33:
/usr/local/webserver/mysql/include/mysql/my_config.h:1211:1: warning: "PACKAGE_VERSION" redefined
In file included from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:24:
/data0/software/php-5.3.8/ext/mysqli/config.h:65:1: warning: this is the location of the previous definition
In file included from /usr/local/webserver/mysql/include/mysql/my_global.h:85,
from /data0/software/php-5.3.8/ext/mysqli/php_mysqli_structs.h:61,
from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:33:
/usr/local/webserver/mysql/include/mysql/my_config.h:1229:1: warning: "SIZEOF_CHAR" redefined
In file included from /home/wcitywap/php/include/php/TSRM/tsrm_config.h:1,
from /home/wcitywap/php/include/php/TSRM/tsrm_config_common.h:13,
from /home/wcitywap/php/include/php/TSRM/tsrm_virtual_cwd.h:27,
from /home/wcitywap/php/include/php/main/php.h:411,
from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:29:
/home/wcitywap/php/include/php/main/../main/php_config.h:127:1: warning: this is the location of the previous definition
In file included from /data0/software/php-5.3.8/ext/mysqli/php_mysqli_structs.h:77,
from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:33:
/usr/local/webserver/mysql/include/mysql/my_sys.h:1027:27: error: mysql/psi/psi.h: No such file or directory
In file included from /data0/software/php-5.3.8/ext/mysqli/php_mysqli_structs.h:81,
from /data0/software/php-5.3.8/ext/mysqli/mysqli.c:33:
/usr/local/webserver/mysql/include/mysql/m_string.h:285:26: error: mysql/plugin.h: No such file or directory
make: *** [mysqli.lo] Error 1


mysq l版本 mysql-5.5.3-m3.tar.gz
php 版本5.3.8

--转自 北京联动北方科技有限公司




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论