Amazon Linux PHP Mbstring



我正在尝试在amazon ec2服务器中安装mbstring模块,这是我收到时出现的错误

命令运行"sudo yum-install php-mbstring"

Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我在谷歌上搜索并尝试了许多选项,但没有为PHP 5.6 定义任何选项

我还在php.ini中启用了zend.multibyte(也在phpinfo()中验证了它)

由于安装了php5.6,添加mbstring支持的正确命令是sudo yum install php56-mbstring

最新更新