PHP ICONV glibc to libiconv on CentOS 5.5

醉酒当歌 提交于 2019-12-05 18:32:56
linuxbuild

You should manually recompile the php iconv extension (in the php-x.y.z/ext/iconv/ subdirectory) after manual changing of the configure script to force it to select GNU libiconv instead of glibc's iconv. See my answer for the similar Stack question.

compiled php from source seems to be the way

php -m > /tmp/php.modules to list of compiled module for php

backup your current php.ini

yum uninstall php

download the php and base on your existing module + iconv - almost all steps has been detailed here : http://www.php.net/manual/en/install.unix.apache2.php#90478 (except never advise u to backup php.ini)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!