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

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
/tmp/lanmp/php-5.2.17/ext/standard/info.c:68: undefined reference to `ts_resource_ex'
ext/standard/.libs/info.o: In function `php_print_info':
/tmp/lanmp/php-5.2.17/ext/standard/info.c:743: undefined reference to `executor_globals_id'
/tmp/lanmp/php-5.2.17/ext/standard/info.c:746: undefined reference to `executor_globals_id'
/tmp/lanmp/php-5.2.17/ext/standard/info.c:749: undefined reference to `executor_globals_id'
/tmp/lanmp/php-5.2.17/ext/standard/info.c:752: undefined reference to `executor_globals_id'
/tmp/lanmp/php-5.2.17/ext/standard/info.c:676: undefined reference to `sapi_globals_id'
/tmp/lanmp/php-5.2.17/ext/standard/info.c:469: undefined reference to `sapi_globals_id'
/tmp/lanmp/php-5.2.17/ext/standard/info.c:655: undefined reference to `sapi_globals_id'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
增加mysql扩展的时候出现错误,麻烦看看。

TOP

假如你是用lanmp.tar.gz安装的
cd lanmp/php-5.2.17
可以通过phpinfo来查看原本php的编译参数,如下
./c ...
bluegua 发表于 2011-11-15 17:13



    按照这么做后,查看phpinfo文件信息,
Command './configure' '--prefix=/www/wdlinux/php-5.2.17' '--with-config-file-path=/www/wdlinux/etc' '--with-mysql=/www/wdlinux/mysql' '--with-iconv=/usr' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-libxml-dir=/usr' '--enable-xml' '--disable-rpath' '--enable-discard-path' '--enable-inline-optimization' '--with-curl' '--enable-mbregex' '--enable-mbstring' '--with-mcrypt=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-openssl' '--with-mhash' '--enable-ftp' '--with-apxs2=/www/wdlinux/apache/bin/apxs'


Command './configure' '--prefix=/www/wdlinux/php-5.2.17' '--with-config-file-path=/www/wdlinux/etc' '--with-mysql=/www/wdlinux/mysql' '--with-iconv=/usr' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-libxml-dir=/usr' '--enable-xml' '--disable-rpath' '--enable-discard-path' '--enable-inline-optimization' '--with-curl' '--enable-mbregex' '--enable-mbstring' '--with-mcrypt=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-openssl' '--with-mhash' '--enable-ftp' '--with-apxs2=/www/wdlinux/apache/bin/apxs'
./configure' '--prefix=/www/wdlinux/php-5.2.17' '--with-config-file-path=/www/wdlinux/etc' '--with-mysql=/www/wdlinux/mysql' '--with-iconv=/usr' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-libxml-dir=/usr' '--enable-xml' '--disable-rpath' '--enable-discard-path' '--enable-inline-optimization' '--with-curl' '--enable-mbregex' '--enable-mbstring' '--with-mcrypt=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-openssl' '--with-mhash' '--enable-ftp' '--with-apxs2=/www/wdlinux/apache/bin/apxs'

还是这样,没看见加载mysqli

TOP

什么意思,我用configure 添加了啊,在哪里设置mysqli参数。

TOP

make出错:

ext/iconv/iconv.o: In function `_php_iconv_strlen':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:603: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:626: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:660: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `php_iconv_string':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:441: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:453: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:467: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:478: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_strpos':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:851: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:879: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:993: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_appendl':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:348: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:385: undefined reference to `libiconv'
ext/iconv/iconv.o: In function `_php_iconv_substr':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:723: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:747: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:802: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:806: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:755: undefined reference to `libiconv_open'
ext/iconv/iconv.o: In function `_php_iconv_mime_decode':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1354: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1465: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1468: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1823: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1826: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_dtor':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:2465: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_mime_encode':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1043: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1057: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1316: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1319: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1176: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1128: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1160: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1319: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1228: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1259: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1303: undefined reference to `libiconv'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_append_bucket':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:2615: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:2537: undefined reference to `libiconv'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_ctor':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:2491: undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1

TOP

返回列表