无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的

[求助] 无法安装mysqli

正在解析主机 down.wdlinux.cn... 119.146.223.143
正在连接 down.wdlinux.cn|119.146.223.143|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 416 Requested Range Not Satisfiable
    文件已下载完成;不会进行任何操作。
[root@123 ~]# chmod 755 mysqli_ins.sh
[root@123 ~]# ./mysqli_ins.sh
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613

回复 9# admin


     或者你能帮我看看吗

TOP

这个目前不确定原因,可能和你的系统有关
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

顶上,管理员麻烦来给一下解决办法吧。

TOP

顶上

TOP

还有很长的错误代码。请问怎么解决安装?

TOP

root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:128: 错误:‘MY_MYSQL’没有名为‘li_read                                                                                                                                                             ’的成员
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:129: 错误:‘MY_MYSQL’没有名为‘li_read                                                                                                                                                             ’的成员
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c: 在函数‘mysqli_link_free_storage’中:
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:158: 错误:‘MY_MYSQL’没有名为‘mysql’                                                                                                                                                             的成员
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:159: 错误:‘MY_MYSQL’没有名为‘mysql’                                                                                                                                                             的成员
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c: 在函数‘zm_startup_mysqli’中:
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:548: 错误:‘MYSQL_READ_DEFAULT_GROUP’                                                                                                                                                             未声明(在此函数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:548: 错误:(即使在一个函数内多次出现                                                                                                                                                             ,每个未声明的标识符在其
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:548: 错误:所在的函数内也只报告一次。                                                                                                                                                             )
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:549: 错误:‘MYSQL_READ_DEFAULT_FILE’                                                                                                                                                             未声明(在此函数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:550: 错误:‘MYSQL_OPT_CONNECT_TIMEOUT                                                                                                                                                             ’未声明(在此函数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:551: 错误:‘MYSQL_OPT_LOCAL_INFILE’未                                                                                                                                                             声明(在此函数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:552: 错误:‘MYSQL_INIT_COMMAND’未声明                                                                                                                                                             (在此函数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:555: 错误:‘CLIENT_SSL’未声明(在此函                                                                                                                                                             数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:556: 错误:‘CLIENT_COMPRESS’未声明(在                                                                                                                                                             此函数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:557: 错误:‘CLIENT_INTERACTIVE’未声明                                                                                                                                                             (在此函数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:558: 错误:‘CLIENT_IGNORE_SPACE’未声                                                                                                                                                             明(在此函数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:559: 错误:‘CLIENT_NO_SCHEMA’未声明(                                                                                                                                                             在此函数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:560: 错误:‘CLIENT_FOUND_ROWS’未声明(                                                                                                                                                             在此函数内第一次使用)
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:572: 错误:‘STMT_ATTR_UPDATE_MAX_LENG                                                                                                                                                             TH’未声明(在此函数内第一次使用)

TOP

成员
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:111: 错误:‘MY_STMT’没有名为‘stmt’的                                                                                                                                                             成员
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:114: 错误:‘MY_STMT’没有名为‘param’的                                                                                                                                                             成员
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:115: 错误:‘MY_STMT’没有名为‘result’                                                                                                                                                             的成员
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:117: 错误:‘MY_STMT’没有名为‘query’的                                                                                                                                                             成员
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:118: 错误:‘MY_STMT’没有名为‘query’的                                                                                                                                                             成员
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c: 在函数‘php_clear_mysql’中:
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:127: 错误:‘MY_MYSQL’没有名为‘li_read                                                                                                                                                             ’的成员
/

TOP

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /www/wdlinux/apache_php-5.2.17
checking for PHP includes... -I/www/wdlinux/apache_php-5.2.17/include/php -I/www                                                                                                                                                             /wdlinux/apache_php-5.2.17/include/php/main -I/www/wdlinux/apache_php-5.2.17/inc                                                                                                                                                             lude/php/TSRM -I/www/wdlinux/apache_php-5.2.17/include/php/Zend -I/www/wdlinux/a                                                                                                                                                             pache_php-5.2.17/include/php/ext -I/www/wdlinux/apache_php-5.2.17/include/php/ex                                                                                                                                                             t/date/lib
checking for PHP extension directory... /www/wdlinux/apache_php-5.2.17/lib/php/e                                                                                                                                                             xtensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /www/wdlinux/apache_php-5.2.17/incl                                                                                                                                                             ude/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate                                                                                                                                                              PHP parsers.
checking for gawk... gawk
checking for MySQLi support... yes, shared
checking whether to enable embedded MySQLi support... no
checking for mysql_set_server_option in -lmysqlclient... yes
checking for mysql_stmt_field_count in -lmysqlclient... yes
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1966080
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libra                                                                                                                                                             ries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
/bin/sh /root/lanmp/php-5.2.17/ext/mysqli/libtool --mode=compile cc  -I. -I/root                                                                                                                                                             /lanmp/php-5.2.17/ext/mysqli -DPHP_ATOM_INC -I/root/lanmp/php-5.2.17/ext/mysqli/                                                                                                                                                             include -I/root/lanmp/php-5.2.17/ext/mysqli/main -I/root/lanmp/php-5.2.17/ext/my                                                                                                                                                             sqli -I/www/wdlinux/apache_php-5.2.17/include/php -I/www/wdlinux/apache_php-5.2.                                                                                                                                                             17/include/php/main -I/www/wdlinux/apache_php-5.2.17/include/php/TSRM -I/www/wdl                                                                                                                                                             inux/apache_php-5.2.17/include/php/Zend -I/www/wdlinux/apache_php-5.2.17/include                                                                                                                                                             /php/ext -I/www/wdlinux/apache_php-5.2.17/include/php/ext/date/lib -I/usr/includ                                                                                                                                                             e/mysql  -DHAVE_CONFIG_H  -g -O2   -c /root/lanmp/php-5.2.17/ext/mysqli/mysqli.c                                                                                                                                                              -o mysqli.lo
mkdir .libs
cc -I. -I/root/lanmp/php-5.2.17/ext/mysqli -DPHP_ATOM_INC -I/root/lanmp/php-5.2                                                                                                                                                             .17/ext/mysqli/include -I/root/lanmp/php-5.2.17/ext/mysqli/main -I/root/lanmp/ph                                                                                                                                                             p-5.2.17/ext/mysqli -I/www/wdlinux/apache_php-5.2.17/include/php -I/www/wdlinux/                                                                                                                                                             apache_php-5.2.17/include/php/main -I/www/wdlinux/apache_php-5.2.17/include/php/                                                                                                                                                             TSRM -I/www/wdlinux/apache_php-5.2.17/include/php/Zend -I/www/wdlinux/apache_php                                                                                                                                                             -5.2.17/include/php/ext -I/www/wdlinux/apache_php-5.2.17/include/php/ext/date/li                                                                                                                                                             b -I/usr/include/mysql -DHAVE_CONFIG_H -g -O2 -c /root/lanmp/php-5.2.17/ext/mysq                                                                                                                                                             li/mysqli.c  -fPIC -DPIC -o .libs/mysqli.o
在包含自 /root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:31 的文件中:
/root/lanmp/php-5.2.17/ext/mysqli/php_mysqli.h:28:19: 错误:mysql.h:没有那个文                                                                                                                                                             件或目录
/root/lanmp/php-5.2.17/ext/mysqli/php_mysqli.h:40:20: 错误:errmsg.h:没有那个文                                                                                                                                                             件或目录
In file included from /root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:31:
/root/lanmp/php-5.2.17/ext/mysqli/php_mysqli.h:69: 错误:expected specifier-qual                                                                                                                                                             ifier-list before ‘MYSQL_STMT’
/root/lanmp/php-5.2.17/ext/mysqli/php_mysqli.h:76: 错误:expected specifier-qual                                                                                                                                                             ifier-list before ‘MYSQL’
/root/lanmp/php-5.2.17/ext/mysqli/php_mysqli.h:114: 错误:‘LOCAL_INFILE_ERROR_LE                                                                                                                                                             N’未声明(不在函数内)
/root/lanmp/php-5.2.17/ext/mysqli/php_mysqli.h:154: 错误:expected ‘)’ before ‘*                                                                                                                                                             ’ token
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c: 在函数‘php_clear_stmt_bind’中:
/root/lanmp/php-5.2.17/ext/mysqli/mysqli.c:110: 错误:‘MY_STMT’没有名为‘stmt’的

TOP

Zend Extension Api No:   220060519
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes

TOP

返回列表