perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:问题记录
perl: warning: Please check that your locale settings:问题记录)在centos7下编译安装php-amqp扩展时,遇到报错如下。
·
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:问题记录
perl: warning: Please check that your locale settings:问题记录)
在centos7下编译安装php-amqp扩展时,遇到报错如下
Configuring for:
PHP Api Version: 20210902
Zend Module Api No: 20210902
Zend Extension Api No: 420210902
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "zh_CN.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:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[super@php-msf php-amqp-1.11.0]$ perl -e exit
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
解决方案:
export LC_ALL=C
更多推荐
已为社区贡献1条内容
所有评论(0)