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

configure: error: Please reinstall the iconv library.php

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

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

  ./configure \apache

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

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

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

--with-xmlrpc \url

--with-openssl \xml

--with-zlib \ssl

--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 \ 发现这个包没有安装形成的 

相关文章
相关标签/搜索