免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1290 | 回复: 1
打印 上一主题 下一主题

[服务应用] php安装遇到的奇葩问题! [复制链接]

论坛徽章:
3
数据库技术版块每日发帖之星
日期:2015-10-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-10 06:20:00IT运维版块每日发帖之星
日期:2016-01-17 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-09-18 01:30 |只看该作者 |倒序浏览
[root@server php-5.3.27]# uname -a
Linux server 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux


我的php在configure都OK的

./configure \
--prefix=/application/php5.3.27 \
--with-mysql=/application/mysql \
--enable-fpm \                                                 
--with-fpm-user=nginx \                                 
--with-fpm-group=nginx \
--with-xmlrpc \
--with-openssl \
--with-zlib \
--with-freetype-dir \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--with-iconv=/usr/local/libiconv \
--enable-short-tags \
--enable-sockets \
--enable-zend-multibyte \
--enable-soap \
--enable-mbstring \
--enable-static \
--enable-gd-native-ttf \
--with-curl \
--with-xsl \
--enable-ftp \
--with-libxml-dir


在make时候报错:


-lxml2 -lz -lm -lxml2 -lz -lm -lxslt -lxml2 -lz -lm -lcrypt   -o sapi/fpm/php-fpm
libtool: link: warning: library `/application/mysql/lib/libmysqlclient.la' was moved.
libtool: link: warning: library `/application/mysql/lib/libz.la' was moved.
libtool: link: warning: library `/application/mysql/lib/libmysqlclient.la' was moved.
libtool: link: warning: library `/application/mysql/lib/libz.la' was moved.
ext/mbstring/mbstring.o: In function `zif_mb_internal_encoding':
/usr/local/src/php-5.3.27/ext/mbstring/mbstring.c:1587: undefined reference to `zend_multibyte_set_internal_encoding'
ext/mbstring/mbstring.o: In function `zm_activate_mbstring':
/usr/local/src/php-5.3.27/ext/mbstring/mbstring.c:1458: undefined reference to `zend_multibyte_set_internal_encoding'
ext/mbstring/mbstring.o: In function `php_mb_set_zend_encoding':
/usr/local/src/php-5.3.27/ext/mbstring/mbstring.c:4758: undefined reference to `zend_multibyte_set_script_encoding'
/usr/local/src/php-5.3.27/ext/mbstring/mbstring.c:4770: undefined reference to `zend_multibyte_set_internal_encoding'
/usr/local/src/php-5.3.27/ext/mbstring/mbstring.c:4773: undefined reference to `zend_multibyte_set_functions'
/usr/local/src/php-5.3.27/ext/mbstring/mbstring.c:4758: undefined reference to `zend_multibyte_set_script_encoding'
collect2: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] 错误 1



怎么解决啊??????




[root@server php-5.3.27]# tree /etc/ld.so.conf.d/
/etc/ld.so.conf.d/
├── kernel-2.6.32-279.el6.i686.conf
└── mysql-i386.conf


论坛徽章:
41
操作系统版块每日发帖之星
日期:2016-08-21 06:20:00每日论坛发贴之星
日期:2016-05-05 06:20:00操作系统版块每日发帖之星
日期:2016-05-05 06:20:00IT运维版块每日发帖之星
日期:2016-05-05 06:20:0015-16赛季CBA联赛之山西
日期:2016-04-27 08:49:00操作系统版块每日发帖之星
日期:2016-04-25 06:20:00操作系统版块每日发帖之星
日期:2016-04-17 06:23:2815-16赛季CBA联赛之吉林
日期:2016-03-25 15:46:3415-16赛季CBA联赛之四川
日期:2016-03-25 14:26:19操作系统版块每日发帖之星
日期:2016-05-27 06:20:00操作系统版块每日发帖之星
日期:2016-05-28 06:20:00IT运维版块每日发帖之星
日期:2016-08-18 06:20:00
2 [报告]
发表于 2015-09-18 08:58 |只看该作者
yum install php .........
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP