2017-08-31 95 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