Answer the question
In order to leave comments, you need to log in
[[+content_image]]
Centos 7 how to fix php-common conflict?
Hello.
I'm trying to install php-devel, but there is a conflict with php-common.
[[email protected] ~]# yum install php-devel
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* base: centos.trisect.eu
* extras: centos.trisect.eu
* updates: centos.trisect.eu
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-devel.x86_64 0:5.4.16-36.el7_1 will be installed
--> Processing Dependency: php-cli(x86-64) = 5.4.16-36.el7_1 for package: php-devel-5.4.16-36.el7_1.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.4.16-36.el7_1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-36.el7_1 for package: php-cli-5.4.16-36.el7_1.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.4.16-36.el7_1 will be installed
--> Processing Conflict: php56w-common-5.6.20-1.w7.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php56w-common conflicts with php-common-5.4.16-36.el7_1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[[email protected] ~]#
Answer the question
In order to leave comments, you need to log in
Thank you, I found a solution, completely reinstalled:
1. PHP-FPM
2. PHP
3. Remi
According to this instruction https://rtfm.co.ua/centos-ustanovka-nginx-php-fpm/
Thanks to iDoka for the command
to remove php
yum remove -yphp*
this is a conflict of repositories, if you need to quickly, then
1. remove php
2. install the desired version of php, disabling the rep with the unnecessary one:
yum install --disablerepo=<repo-with-mature-php> php-devel
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question