当前在PHP5.6上更新PHP7.0时出错

当前在PHP5.6上更新PHP7.0时出错,php,centos6,Php,Centos6,我已经使用remi repo安装了CentOS 6.7和PHP5.6。我想从remi升级到PHP7.0,我已经将remi repo更新为启用PHP7.0。我安装了memcached 3.0.8 我运行这个命令 yum --enablerepo=remi,remi-php70 update 但这一错误似乎存在 Error: Package: php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64 (@remi-php56) Require

我已经使用remi repo安装了CentOS 6.7和PHP5.6。我想从remi升级到PHP7.0,我已经将remi repo更新为启用PHP7.0。我安装了memcached 3.0.8

我运行这个命令

yum --enablerepo=remi,remi-php70 update
但这一错误似乎存在

Error: Package: php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64 (@remi-php56)
           Requires: php(api) = 20131106-64
           Removing: php-common-5.6.16-1.el6.remi.x86_64 (@remi-php56)
               php(api) = 20131106-64
           Updated By: php-common-7.0.1-1.el6.remi.x86_64 (remi-php70)
               php(api) = 20151012-64
           Available: php-common-5.3.3-40.el6_6.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.3.3-46.el6_6.x86_64 (updates)
               php(api) = 20090626
           Available: php-common-5.4.45-1.el6.remi.x86_64 (remi)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.45-2.el6.remi.x86_64 (remi)
               php(api) = 20100412-x86-64
           Available: php-common-7.0.0-3.el6.remi.x86_64 (remi-php70)
               php(api) = 20151012-64
Error: Package: php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64 (@remi-php56)
           Requires: php(zend-abi) = 20131226-64
           Removing: php-common-5.6.16-1.el6.remi.x86_64 (@remi-php56)
               php(zend-abi) = 20131226-64
           Updated By: php-common-7.0.1-1.el6.remi.x86_64 (remi-php70)
               php(zend-abi) = 20151012-64
           Available: php-common-5.3.3-40.el6_6.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-46.el6_6.x86_64 (updates)
               php(zend-abi) = 20090626
           Available: php-common-5.4.45-1.el6.remi.x86_64 (remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.45-2.el6.remi.x86_64 (remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-7.0.0-3.el6.remi.x86_64 (remi-php70)
               php(zend-abi) = 20151012-64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

有什么建议吗?

memcache扩展尚不兼容PHP7,因此在remi存储库中不可用,因此yum会阻止升级,这是意料之中的

如果您可以删除php-pecl-memcache,就可以升级。 如果你真的需要它,你必须等待一个新的版本


兼容性和可用性列表,请参阅:

哦,雷米,我很惊讶你能回答这个问题,太好了。是的,现在当我运行
yum--enablerepo=remi,remi-php70 update
时,我不会再次遇到错误,可能是因为您已经更新了它,谢谢remi,我感谢您对PHP和您的repository的奉献是的,我们现在有一个包(来自git),但不是正式版本。ic,因此,这意味着如果官方版本发布,那么它将被替换,或者如何替换?它将被更新(通过yum更新)到任何稳定/官方版本(如果可用)。