2017-08-31 181 views
0

我试图安装PHP-ZIP(PHP 7.0)之后,但我遇到:与php70 php71冲突禁用php71回购

Error: php71w-common conflicts with php-common-7.0.23-1.el7.remi.x86_64 
You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 

我已经...

  • 禁用所有remi-除了remi-php70之外的PHP回购。
  • 执行须藤yum clean all
  • 执行须藤yum install php-zipsudo yum install php70-zip以及sudo yum install php70w-zip

所有结果:

Resolving Dependencies 
--> Running transaction check 
---> Package php71w-common.x86_64 0:7.1.8-2.w7 will be installed 
--> Processing Conflict: php71w-common-7.1.8-2.w7.x86_64 conflicts php-common < 7.1 
--> Finished Dependency Resolution 

回答

0

啊,webtatic在使用中曾提出和冲突。我解决了我的问题:

sudo yum-config-manager --disable webtatic webtatic-archive webtatic-testing remi-php54 remi-php71 
sudo yum clean all