无法在centos 7上将php-imap扩展安装到php7.2

我在centos 7上将php-imap安装到php7.2时遇到问题。运行yum install php-imap时,我得到了这个信息:

Loaded plugins: fastestmirror                                                                                                                                                                   Loading mirror speeds from cached hostfile                                                                                                                                                       * base: mirror.alpha-labs.net
 * centos-qemu-ev: mirror.imt-systems.com
 * centos-sclo-rh: mirror.alpix.eu
 * centos-sclo-sclo: mirror.imt-systems.com
 * epel: www.nic.funet.fi
 * extras: mirror.alpha-labs.net
 * remi-safe: mirror.awanti.com
 * updates: mirror.alpix.eu                                                                                                                                                                     Resolving Dependencies                                                                                                                                                                          --> Running transaction check                                                                                                                                                                   ---> Package php-imap.x86_64 0:5.4.16-9.el7 will be installed                                                                                                                                   --> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-imap-5.4.16-9.el7.x86_64                                                                                                --> Processing Dependency: php(api) = 20100412-64 for package: php-imap-5.4.16-9.el7.x86_64                                                                                                     --> Finished Dependency Resolution                                                                                                                                                              Error: Package: php-imap-5.4.16-9.el7.x86_64 (epel)
           Requires: php(zend-abi) = 20100525-64
           Installed: php-common-7.2.24-1.el7.remi.x86_64 (@remi-php72)
               php(zend-abi) = 20170718-64
           Available: php-common-5.4.16-46.el7.x86_64 (base)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-46.1.el7_7.x86_64 (updates)
               php(zend-abi) = 20100525-64                                                                                                                                                      Error: Package: php-imap-5.4.16-9.el7.x86_64 (epel)
           Requires: php(api) = 20100412-64
           Installed: php-common-7.2.24-1.el7.remi.x86_64 (@remi-php72)
               php(api) = 20170718-64
           Available: php-common-5.4.16-46.el7.x86_64 (base)
               php(api) = 20100412-64
           Available: php-common-5.4.16-46.1.el7_7.x86_64 (updates)
               php(api) = 20100412-64                                                                                                                                                            You could try using --skip-broken to work around the problem                                                                                                                                    You could try running: rpm -Va --nofiles --nodigest 

我不知道如何解决此问题,我已经搜索了此问题的修复方法,但还没有找到 这也是我的回购清单:

repo id                                                                         repo name                                                                                                 status
Softaculous/7/x86_64                                                            Virtualizor Repo                                                                                               9
Softaculous-extra/7/x86_64                                                      Virtualizor-Extra-Repo                                                                                         0
base/7/x86_64                                                                   CentOS-7 - Base                                                                                           10,097
centos-qemu-ev/7/x86_64                                                         CentOS-7 - QEMU EV                                                                                            87
centos-sclo-rh/x86_64                                                           CentOS-7 - SCLo rh                                                                                         8,763
centos-sclo-sclo/x86_64                                                         CentOS-7 - SCLo sclo                                                                                         824
epel/x86_64                                                                     Extra Packages for Enterprise Linux 7 - x86_64                                                            13,456
extras/7/x86_64                                                                 CentOS-7 - Extras                                                                                            305
mysql-connectors-community/x86_64                                               MySQL Connectors Community                                                                                   131
mysql-tools-community/x86_64                                                    MySQL Tools Community                                                                                        100
mysql56-community/x86_64                                                        MySQL 5.6 Community Server                                                                                   496
remi-safe                                                                       Safe Remi's RPM repository for Enterprise Linux 7 - x86_64                                                 3,621
updates/7/x86_64                                                                CentOS-7 - Updates                                                                                           738
repolist: 38,627
miner2007 回答:无法在centos 7上将php-imap扩展安装到php7.2

我发现了如何为php7.2m安装php-imap,我运行了命令yum --enablerepo=remi-php72 install php-imap的作用是什么

本文链接:https://www.f2er.com/3093955.html

大家都在问