• <small id='zwnca'></small><noframes id='zwnca'>

    • <bdo id='zwnca'></bdo><ul id='zwnca'></ul>

    <i id='zwnca'><tr id='zwnca'><dt id='zwnca'><q id='zwnca'><span id='zwnca'><b id='zwnca'><form id='zwnca'><ins id='zwnca'></ins><ul id='zwnca'></ul><sub id='zwnca'></sub></form><legend id='zwnca'></legend><bdo id='zwnca'><pre id='zwnca'><center id='zwnca'></center></pre></bdo></b><th id='zwnca'></th></span></q></dt></tr></i><div id='zwnca'><tfoot id='zwnca'></tfoot><dl id='zwnca'><fieldset id='zwnca'></fieldset></dl></div>

        <legend id='zwnca'><style id='zwnca'><dir id='zwnca'><q id='zwnca'></q></dir></style></legend>

      1. <tfoot id='zwnca'></tfoot>

        尝试在 ec2 上安装 php-mbstring 的依赖问题

        时间:2023-10-16
      2. <small id='9O9s7'></small><noframes id='9O9s7'>

          <tbody id='9O9s7'></tbody>
          <bdo id='9O9s7'></bdo><ul id='9O9s7'></ul>
          <tfoot id='9O9s7'></tfoot>

            1. <i id='9O9s7'><tr id='9O9s7'><dt id='9O9s7'><q id='9O9s7'><span id='9O9s7'><b id='9O9s7'><form id='9O9s7'><ins id='9O9s7'></ins><ul id='9O9s7'></ul><sub id='9O9s7'></sub></form><legend id='9O9s7'></legend><bdo id='9O9s7'><pre id='9O9s7'><center id='9O9s7'></center></pre></bdo></b><th id='9O9s7'></th></span></q></dt></tr></i><div id='9O9s7'><tfoot id='9O9s7'></tfoot><dl id='9O9s7'><fieldset id='9O9s7'></fieldset></dl></div>
                  <legend id='9O9s7'><style id='9O9s7'><dir id='9O9s7'><q id='9O9s7'></q></dir></style></legend>
                  本文介绍了尝试在 ec2 上安装 php-mbstring 的依赖问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试在我的 Amazon Linux AMI 实例上安装 yii2,它需要 php-mbstring 扩展才能工作.

                  I am trying to install yii2 on my Amazon Linux AMI instance, it requires the php-mbstring extension to work.

                  当我尝试运行 sudo yum install php-mbstring 时,它返回了这个错误:

                  When I tried to run sudo yum install php-mbstring it returned this error:

                  错误:php56-common 与 php-common-5.3.29-1.8.amzn1.x86_64 冲突

                  Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64

                  Loaded plugins: priorities, update-motd, upgrade-helper
                  amzn-main/latest                                         | 2.1 kB     00:00
                  amzn-updates/latest                                      | 2.3 kB     00:00
                  2494 packages excluded due to repository priority protections
                  Resolving Dependencies
                  --> Running transaction check
                  ---> Package php-mbstring.x86_64 0:5.3.29-1.8.amzn1 will be installed
                  --> Processing Dependency: php-common(x86-64) = 5.3.29-1.8.amzn1 for package: php-mbstring-5.3.29-1.8.amzn1.x86_64
                  --> Running transaction check
                  ---> Package php-common.x86_64 0:5.3.29-1.8.amzn1 will be installed
                  --> Processing Conflict: php56-common-5.6.9-1.112.amzn1.x86_64 conflicts php-common < 5.5.22-1.98
                  --> Finished Dependency Resolution
                  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 安装 mbstring.

                  It seems you have php 5.6 installed.
                  You need to install mbstring for that particular version of php.

                  运行sudo yum install php56-mbstring

                  之后重新启动 apache 可能是个好主意(谢谢!@hexicle),
                  使用 sudo service httpd restart

                  After that it might be a good idea to restart apache (thanks! @hexicle),
                  using sudo service httpd restart

                  这篇关于尝试在 ec2 上安装 php-mbstring 的依赖问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:从 Yii2 中的连接表中检索数据 下一篇:Yii2 插入同一张表的多条记录

                  相关文章

                  <small id='GilqS'></small><noframes id='GilqS'>

                  <i id='GilqS'><tr id='GilqS'><dt id='GilqS'><q id='GilqS'><span id='GilqS'><b id='GilqS'><form id='GilqS'><ins id='GilqS'></ins><ul id='GilqS'></ul><sub id='GilqS'></sub></form><legend id='GilqS'></legend><bdo id='GilqS'><pre id='GilqS'><center id='GilqS'></center></pre></bdo></b><th id='GilqS'></th></span></q></dt></tr></i><div id='GilqS'><tfoot id='GilqS'></tfoot><dl id='GilqS'><fieldset id='GilqS'></fieldset></dl></div>
                  1. <tfoot id='GilqS'></tfoot>
                      <bdo id='GilqS'></bdo><ul id='GilqS'></ul>

                    1. <legend id='GilqS'><style id='GilqS'><dir id='GilqS'><q id='GilqS'></q></dir></style></legend>