perl: warning: Please check that your locale settings: /usr/
发布时间:2020-12-16 00:04:33 所属栏目:大数据 来源:网络整理
导读:每次安装软件的时候都报 /usr/local/webserver/php/bin/phpize? Configuring?for: PHP?Api?Version:?????????20041225 Zend?Module?Api?No:??????20060613 Zend?Extension?Api?No:???220060519 perl:?warning:?Setting?locale?failed. perl:?warning:?Please
每次安装软件的时候都报 /usr/local/webserver/php/bin/phpize? PHP?Api?Version:?????????20041225 Zend?Module?Api?No:??????20060613 Zend?Extension?Api?No:???220060519 perl:?warning:?Setting?locale?failed. perl:?warning:?Please?check?that?your?locale?settings: ????????LANGUAGE?=?(unset), ????????LC_ALL?=?(unset),STHeiti; font-size:14px; line-height:21px">????????LANG?=?"zh_CN.GB2312;zh_CN.UTF-8;en_US;en_US.UTF-8" ????are?supported?and?installed?on?your?system. perl:?warning:?Falling?back?to?the?standard?locale?("C"). perl:?warning:?Setting?locale?failed. perl:?warning:?Please?check?that?your?locale?settings: perl:?warning:?Falling?back?to?the?standard?locale?("C"). 在使用其它的某些命令时(如:mysqlhotcopy)也会也出现类似的提示。 搜索了好一段时间,并试了几次,找到一个解决此问题的简单方法,如下: vi?/root/.bashrc 再最底部加上 export?LC_ALL=C 或者直接运行 echo?"export?LC_ALL=C"?>>?/root/.bashrc 然后执行一下: source?/root/.bashrc? 好了。 转自:http://hi.baidu.com/monobao/item/0a8ec110b52bac0ed0d66d24 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |