@Ozymandis
зелень

Конфликт версий PHP 5.6 и PHP 5.5, как исправить?

Всем Привет!

Устанавливаю Postfixadmin, просит установить php-imap. CentOS 6.6

сейчас php -v
spoiler

PHP 5.5.38 (cli) (built: Jul 21 2016 12:51:12)


yum install php-imap
spoiler
-bash-4.1# 
Loaded plugins: fastestmirror, replace
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.schlundtech.de
 * epel: mirror.wiuwiu.de
 * extras: centos.schlundtech.de
 * remi-php56: remi.schlundtech.de
 * rpmforge: mirror1.hs-esslingen.de
 * updates: centos.schlundtech.de
 * webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-imap.x86_64 0:5.6.31-1.el6.remi will be installed
--> Processing Dependency: php-common(x86-64) = 5.6.31-1.el6.remi for package: php-imap-5.6.31-1.el6.remi.x86_64
--> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.6.31-1.el6.remi.x86_64
--> Running transaction check
---> Package libc-client.x86_64 0:2007e-11.el6 will be installed
---> Package php-common.x86_64 0:5.6.31-1.el6.remi will be obsoleting
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.6.31-1.el6.remi.x86_64
Package php-pecl-zip is obsoleted by php52-common, but obsoleting package does not provide for requirements
--> Processing Dependency: php-pecl-jsonc(x86-64) for package: php-common-5.6.31-1.el6.remi.x86_64
---> Package php55w-common.x86_64 0:5.5.38-1.w6 will be obsoleted
--> Processing Dependency: php(api) = 20121113 for package: php55w-pecl-memcache-3.0.8-2.w6.x86_64
--> Processing Dependency: php(zend-abi) = 20121212 for package: php55w-pecl-memcache-3.0.8-2.w6.x86_64
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.6.31-1.el6.remi.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-ldap-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-soap-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-mbstring-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-xml-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-pspell-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-process-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-fpm-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-mcrypt-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-cli-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-intl-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-pdo-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-gd-5.5.38-1.w6.x86_64
--> Processing Dependency: php55w-common(x86-64) = 5.5.38-1.w6 for package: php55w-5.5.38-1.w6.x86_64
--> Running transaction check
---> Package php.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-cli.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-common.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-fpm.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-gd.x86_64 0:5.6.31-1.el6.remi will be obsoleting
--> Processing Dependency: gd-last(x86-64) >= 2.1.1 for package: php-gd-5.6.31-1.el6.remi.x86_64
--> Processing Dependency: libgd.so.3()(64bit) for package: php-gd-5.6.31-1.el6.remi.x86_64
---> Package php-intl.x86_64 0:5.6.31-1.el6.remi will be obsoleting
--> Processing Dependency: libicuuc.so.50()(64bit) for package: php-intl-5.6.31-1.el6.remi.x86_64
--> Processing Dependency: libicuio.so.50()(64bit) for package: php-intl-5.6.31-1.el6.remi.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: php-intl-5.6.31-1.el6.remi.x86_64
--> Processing Dependency: libicudata.so.50()(64bit) for package: php-intl-5.6.31-1.el6.remi.x86_64
---> Package php-ldap.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-mbstring.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-mcrypt.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-pdo.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-pecl-jsonc.x86_64 0:1.3.10-2.el6.remi.5.6 will be installed
---> Package php-process.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-pspell.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-soap.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php-xml.x86_64 0:5.6.31-1.el6.remi will be obsoleting
---> Package php55-common.x86_64 0:5.5.28-1.el6 will be installed
---> Package php55w.x86_64 0:5.5.38-1.w6 will be obsoleted
---> Package php55w-cli.x86_64 0:5.5.38-1.w6 will be obsoleted
--> Processing Dependency: php55w-cli >= 5.1.0-1 for package: 1:php55w-pear-1.9.4-7.w6.noarch
--> Processing Dependency: php55w-cli(x86-64) = 5.5.38-1.w6 for package: php55w-devel-5.5.38-1.w6.x86_64
---> Package php55w-fpm.x86_64 0:5.5.38-1.w6 will be obsoleted
---> Package php55w-gd.x86_64 0:5.5.38-1.w6 will be obsoleted
---> Package php55w-intl.x86_64 0:5.5.38-1.w6 will be obsoleted
---> Package php55w-ldap.x86_64 0:5.5.38-1.w6 will be obsoleted
---> Package php55w-mbstring.x86_64 0:5.5.38-1.w6 will be obsoleted
---> Package php55w-mcrypt.x86_64 0:5.5.38-1.w6 will be obsoleted
---> Package php55w-pdo.x86_64 0:5.5.38-1.w6 will be obsoleted
--> Processing Dependency: php55w-pdo(x86-64) for package: php55w-mysql-5.5.27-1.w6.x86_64
---> Package php55w-process.x86_64 0:5.5.38-1.w6 will be obsoleted
---> Package php55w-pspell.x86_64 0:5.5.38-1.w6 will be obsoleted
---> Package php55w-soap.x86_64 0:5.5.38-1.w6 will be obsoleted
---> Package php55w-xml.x86_64 0:5.5.38-1.w6 will be obsoleted
--> Running transaction check
---> Package php-devel.x86_64 0:5.6.31-1.el6.remi will be obsoleting
--> Processing Dependency: php-pecl-jsonc-devel(x86-64) for package: php-devel-5.6.31-1.el6.remi.x86_64

  • Вопрос задан
  • 574 просмотра
Пригласить эксперта
Ответы на вопрос 3
@BorisKorobkov Куратор тега PHP
Web developer
Удалите все версии php yum purge php*, установите заново только 5.6
Ответ написан
@Ozymandis Автор вопроса
зелень
продолжение

spoiler
---> Package php-gd.x86_64 0:5.6.31-1.el6.remi will be obsoleting
--> Processing Dependency: gd-last(x86-64) >= 2.1.1 for package: php-gd-5.6.31-1.el6.remi.x86_64
--> Processing Dependency: libgd.so.3()(64bit) for package: php-gd-5.6.31-1.el6.remi.x86_64
---> Package php-intl.x86_64 0:5.6.31-1.el6.remi will be obsoleting
--> Processing Dependency: libicuuc.so.50()(64bit) for package: php-intl-5.6.31-1.el6.remi.x86_64
--> Processing Dependency: libicuio.so.50()(64bit) for package: php-intl-5.6.31-1.el6.remi.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: php-intl-5.6.31-1.el6.remi.x86_64
--> Processing Dependency: libicudata.so.50()(64bit) for package: php-intl-5.6.31-1.el6.remi.x86_64
---> Package php-pecl-jsonc-devel.x86_64 0:1.3.10-2.el6.remi.5.6 will be installed
--> Finished Dependency Resolution
Error: Package: php-intl-5.6.31-1.el6.remi.x86_64 (remi-php56)
           Requires: libicuuc.so.50()(64bit)
Error: Package: php-gd-5.6.31-1.el6.remi.x86_64 (remi-php56)
           Requires: libgd.so.3()(64bit)
Error: Package: php-intl-5.6.31-1.el6.remi.x86_64 (remi-php56)
           Requires: libicuio.so.50()(64bit)
Error: Package: php-common-5.6.31-1.el6.remi.x86_64 (remi-php56)
           Requires: php-pecl-zip(x86-64)
           Removing: php55w-common-5.5.38-1.w6.x86_64 (@webtatic)
               php-pecl-zip(x86-64) = 1.11.0
           Obsoleted By: php-common-5.6.31-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php-common-5.3.29-2.el6.x86_64 (centosup)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-pecl-zip-1.15.0-1.el6.remi.5.6.x86_64 (remi-php56)
               php-pecl-zip(x86-64) = 1.15.0-1.el6.remi.5.6
           Available: php-pecl-zip-1.15.1-1.el6.remi.5.6.x86_64 (remi-php56)
               php-pecl-zip(x86-64) = 1.15.1-1.el6.remi.5.6
           Available: php54-common-5.4.44-1.el6.x86_64 (centosup)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php55-common-5.5.28-1.el6.x86_64 (centosup)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php56-common-5.6.12-1.el6.x86_64 (centosup)
               php-pecl-zip(x86-64) = 1.12.5
           Available: php56w-common-5.6.31-1.w6.x86_64 (webtatic)
               php-pecl-zip(x86-64) = 1.12.5
           Available: php70w-common-7.0.22-2.w6.x86_64 (webtatic)
               php-pecl-zip(x86-64) = 1.13.5
           Available: php71w-common-7.1.8-2.w6.x86_64 (webtatic)
               php-pecl-zip(x86-64) = 1.13.5
           Available: php-common-5.3.3-49.el6.x86_64 (base)
               Not found
           Available: php-common-5.6.30-1.el6.remi.x86_64 (remi-php56)
               Not found
Error: Package: php-gd-5.6.31-1.el6.remi.x86_64 (remi-php56)
           Requires: gd-last(x86-64) >= 2.1.1
Error: Package: php-intl-5.6.31-1.el6.remi.x86_64 (remi-php56)
           Requires: libicui18n.so.50()(64bit)
Error: Package: php-intl-5.6.31-1.el6.remi.x86_64 (remi-php56)
           Requires: libicudata.so.50()(64bit)

Ответ написан
Комментировать
@ASaharov
А явным образом например так пробовали: yum install php-imap56 (хотя не факт что так должно получитья)?
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы