In fact, I have installed libiconv before installing PHP and installed it in the usrlocallibiconv directory. Later, the parameters for PHP compilation also contain -- with-iconv-dirusrlocallibiconv. However, after php is installed, iconv printed by phpinfo is used to expand the icon... in fact, I have installed libiconv before installing PHP and installed it in the/usr/local/libiconv directory. Later, when PHP is compiled, the parameters include -- with-iconv-dir =/usr/local/libiconv, but after php is installed, iconv extensions printed through phpinfo, where iconv implementation is still glibc, not libiconv
Reply content:
In fact, I have installed libiconv before installing PHP and installed it in the/usr/local/libiconv directory. Later, when PHP is compiled, the parameters include -- with-iconv-dir =/usr/local/libiconv, but after php is installed, iconv extensions printed through phpinfo, where iconv implementation is still glibc, not libiconv