Answer the question
In order to leave comments, you need to log in
How to resolve conflict between php packages on CentOS 7?
Good afternoon! Please be understanding. I don't have much experience with Linux in general and CentOS in particular.
In the course of work, it became necessary to install the "php-xcache" package, but ran into a conflict problem. As far as I know, CentOS 7 defaults to PHP 5.4. There are 3 dependency issues. Output from "yum" below:
Resolving Dependencies
--> Running transaction check
---> Package php-xcache.x86_64 0:3.1.1-1.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-xcache-3.1.1-1.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-xcache-3.1.1-1.el7.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.4.16-48.el7 will be installed
--> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-48.el7.x86_64
--> Running transaction check
---> Package libzip.x86_64 0:0.10.1-8.el7 will be installed
--> Processing Conflict: php71w-common-7.1.33-1.w7.x86_64 conflicts php-common < 7.1
Packages skipped because of dependency problems:
libzip-0.10.1-8.el7.x86_64 from base
php-common-5.4.16-48.el7.x86_64 from base
php-xcache-3.1.1-1.el7.x86_64 from epel
Answer the question
In order to leave comments, you need to log in
you have added a repository from Webtatic (this can be seen from the names of conflicting packages).
So install your package from there, write the request correctly
yum install php71w-xcache
And if you do not need it, and you need the "original" php-xcache , then disable this "left" repo, but be prepared that the packages installed from it will be removed .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question