Home > Backend Development > PHP Tutorial > apache - CentOS 7上 PHP编译安装后怎么添加libiconv扩展?

apache - CentOS 7上 PHP编译安装后怎么添加libiconv扩展?

WBOY
Release: 2016-06-06 20:10:03
Original
1216 people have browsed it

其实我在安装PHP之前已经安装了libiconv,安装在/usr/local/libiconv 目录下。后来编译PHP时的参数里面也有 --with-iconv-dir=/usr/local/libiconv ,但是安装完php后,通过phpinfo打印出来的 iconv扩展那里 iconv implementation依然是glibc,并不是libiconv

回复内容:

其实我在安装PHP之前已经安装了libiconv,安装在/usr/local/libiconv 目录下。后来编译PHP时的参数里面也有 --with-iconv-dir=/usr/local/libiconv ,但是安装完php后,通过phpinfo打印出来的 iconv扩展那里 iconv implementation依然是glibc,并不是libiconv

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template