首页 > Web开发 > 详细

php编译错误:configure: error: Please reinstall the iconv library.

时间:2015-07-07 13:13:03      阅读:6669      评论:0      收藏:0      [点我收藏+]

configure: error: Please reinstall the iconv library.

今天在编译安装php5.6.10的时候出现这个报错

然后怎么都解决不了,度娘也没有找到方法,于是仔细看了下配置

  ./configure \

--prefix=/usr/local/php5.6.10 \

--with-apxs2=/usr/local/apache/bin/apxs \

--with-mysql=/usr/local/mysql \

--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-mbsreing \

--enable-static \

--enable-gd-native-ttf \

--with-curl \

--with-xsl \

--enable-ftp \

--with-libxml-dir

注意--with-iconv=/usr/local/libiconv \ 发现这个包没有安装造成的 


本文出自 “每天一个进步,时间长..” 博客,请务必保留此出处http://strong01.blog.51cto.com/1075577/1671559

php编译错误:configure: error: Please reinstall the iconv library.

原文:http://strong01.blog.51cto.com/1075577/1671559

(1)
(1)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!