【发布时间】:2015-11-11 11:29:31
【问题描述】:
我正在尝试在亚马逊 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 模块安装到 PHP5.3 中 AMAZON 真的运行 PHP5.3 吗?
-
我正在运行 sudo yum install php-mbstring 我该怎么办? php -v 给我 php 5.6.12
-
@RiggsFolly,不,这恰恰相反。
-
@RiggsFolly Amazon Linux 为您提供多种选择。 PHP 5.3 在他们的仓库中不再可用,但它曾经是。
标签: php linux amazon-web-services amazon-ec2