码迷,mamicode.com
首页 > Web开发 > 详细

欲玩Discuz_X3.2,无奈不支持php7,再装个php5.3,编译到一半报错

时间:2016-10-18 02:26:33      阅读:839      评论:0      收藏:0      [点我收藏+]

标签:

./configure --enable-fpm --with-pdo-mysql --enable-mbstring --with-openssl --with-gd --with-iconv=/usr/local --with-mysqli --enable-zip --prefix=/usr/local/php53

ext/mysqli/mysqli.o: In function `php_local_infile_read‘:
mysqli.c:(.text+0xdb1): undefined reference to `client_errors‘
mysqli.c:(.text+0xdfa): undefined reference to `client_errors‘
mysqli.c:(.text+0xffc): undefined reference to `client_errors‘
mysqli.c:(.text+0x102a): undefined reference to `client_errors‘
ext/mysqli/mysqli.o: In function `php_local_infile_init‘:
mysqli.c:(.text+0x11a1): undefined reference to `client_errors‘
ext/mysqli/mysqli.o:mysqli.c:(.text+0x126b): more undefined references to `client_errors‘ follow
collect2: error: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] 错误 1

 cd ../libiconv-1.14/

./configure --enable-static && make && make install

cd ../php-5.3.29

make 

依旧报错。。。。

 

欲玩Discuz_X3.2,无奈不支持php7,再装个php5.3,编译到一半报错

标签:

原文地址:http://www.cnblogs.com/longzhu/p/5971828.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!