Erro Pecl ao instalar o php71 em Centos6.9 por yum, remi repo

0

Eu recebi um erro relacionado ao pacote como este.

Erro: Pacote: php-pecl-xhprof-0.9.4-4.el6.remi.5.6.x86_64

Eu acho que isso está relacionado com a dependência do pecl embora ... não consigo descobrir.

Eu uso o php56 por um bom tempo.

Alguém me ajuda ??

Estas são as mensagens de erro.

$ sudo yum install --enablerepo=remi,remi-php71 php
Loaded plugins: security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php.x86_64 0:7.1.20-1.el6.remi will be an update
--> Processing Dependency: php-common(x86-64) = 7.1.20-1.el6.remi for package: php-7.1.20-1.el6.remi.x86_64
--> Processing Dependency: php-cli(x86-64) = 7.1.20-1.el6.remi for package: php-7.1.20-1.el6.remi.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.6.36-1.el6.remi will be updated
--> Processing Dependency: php-cli(x86-64) = 5.6.36-1.el6.remi for package: php-devel-5.6.36-1.el6.remi.x86_64
---> Package php-cli.x86_64 0:7.1.20-1.el6.remi will be an update
---> Package php-common.x86_64 0:5.6.36-1.el6.remi will be updated
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-xdebug-2.4.1-1.el6.remi.5.6.x86_64
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-zip-1.13.5-1.el6.remi.5.6.x86_64
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-xhprof-0.9.4-4.el6.remi.5.6.x86_64
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-jsonc-1.3.10-1.el6.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-xdebug-2.4.1-1.el6.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-zip-1.13.5-1.el6.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-xhprof-0.9.4-4.el6.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-jsonc-1.3.10-1.el6.remi.5.6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.36-1.el6.remi for package: php-xml-5.6.36-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.36-1.el6.remi for package: php-mbstring-5.6.36-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.36-1.el6.remi for package: php-intl-5.6.36-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.36-1.el6.remi for package: php-bcmath-5.6.36-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.36-1.el6.remi for package: php-opcache-5.6.36-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.36-1.el6.remi for package: php-pdo-5.6.36-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.36-1.el6.remi for package: php-process-5.6.36-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.36-1.el6.remi for package: php-mcrypt-5.6.36-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.36-1.el6.remi for package: php-soap-5.6.36-1.el6.remi.x86_64
---> Package php-common.x86_64 0:7.1.20-1.el6.remi will be an update
--> Running transaction check
---> Package php-bcmath.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php-bcmath.x86_64 0:7.1.20-1.el6.remi will be an update
---> Package php-common.x86_64 0:5.6.36-1.el6.remi will be updated
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-xhprof-0.9.4-4.el6.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-xhprof-0.9.4-4.el6.remi.5.6.x86_64
---> Package php-devel.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php-devel.x86_64 0:7.1.20-1.el6.remi will be obsoleting
---> Package php-intl.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php-intl.x86_64 0:7.1.20-1.el6.remi will be an update
---> Package php-json.x86_64 0:7.1.20-1.el6.remi will be obsoleting
---> Package php-mbstring.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php-mbstring.x86_64 0:7.1.20-1.el6.remi will be an update
---> Package php-mcrypt.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php-mcrypt.x86_64 0:7.1.20-1.el6.remi will be an update
---> Package php-opcache.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php-opcache.x86_64 0:7.1.20-1.el6.remi will be an update
---> Package php-pdo.x86_64 0:5.6.36-1.el6.remi will be updated
--> Processing Dependency: php-pdo(x86-64) = 5.6.36-1.el6.remi for package: php-mysqlnd-5.6.36-1.el6.remi.x86_64
---> Package php-pdo.x86_64 0:7.1.20-1.el6.remi will be an update
---> Package php-pecl-jsonc.x86_64 0:1.3.10-1.el6.remi.5.6 will be obsoleted
---> Package php-pecl-jsonc-devel.x86_64 0:1.3.10-1.el6.remi.5.6 will be obsoleted
---> Package php-pecl-xdebug.x86_64 0:2.4.1-1.el6.remi.5.6 will be updated
---> Package php-pecl-xdebug.x86_64 0:2.6.1-1.el6.remi.7.1 will be an update
---> Package php-pecl-zip.x86_64 0:1.13.5-1.el6.remi.5.6 will be updated
---> Package php-pecl-zip.x86_64 0:1.15.3-1.el6.remi.7.1 will be an update
--> Processing Dependency: libzip5(x86-64) >= 1.5.1 for package: php-pecl-zip-1.15.3-1.el6.remi.7.1.x86_64
---> Package php-process.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php-process.x86_64 0:7.1.20-1.el6.remi will be an update
---> Package php-soap.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php-soap.x86_64 0:7.1.20-1.el6.remi will be an update
---> Package php-xml.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php-xml.x86_64 0:7.1.20-1.el6.remi will be an update
--> Running transaction check
---> Package libzip5.x86_64 0:1.2.0-1.el6.remi will be updated
---> Package libzip5.x86_64 0:1.5.1-1.el6.remi will be an update
---> Package php-common.x86_64 0:5.6.36-1.el6.remi will be updated
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-xhprof-0.9.4-4.el6.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-xhprof-0.9.4-4.el6.remi.5.6.x86_64
---> Package php-mysqlnd.x86_64 0:5.6.36-1.el6.remi will be updated
---> Package php-mysqlnd.x86_64 0:7.1.20-1.el6.remi will be an update
--> Finished Dependency Resolution
Error: Package: php-pecl-xhprof-0.9.4-4.el6.remi.5.6.x86_64 (@remi-php56)
           Requires: php(api) = 20131106-64
           Removing: php-common-5.6.36-1.el6.remi.x86_64 (@remi-php56)
               php(api) = 20131106-64
           Updated By: php-common-7.1.20-1.el6.remi.x86_64 (remi-php71)
               php(api) = 20160303-64
           Available: php-common-5.3.3-49.el6.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.4.45-13.el6.remi.x86_64 (remi)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.45-14.el6.remi.x86_64 (remi)
               php(api) = 20100412-x86-64
           Available: php-common-7.1.19-1.el6.remi.x86_64 (remi-php71)
               php(api) = 20160303-64
Error: Package: php-pecl-xhprof-0.9.4-4.el6.remi.5.6.x86_64 (@remi-php56)
           Requires: php(zend-abi) = 20131226-64
           Removing: php-common-5.6.36-1.el6.remi.x86_64 (@remi-php56)
               php(zend-abi) = 20131226-64
           Updated By: php-common-7.1.20-1.el6.remi.x86_64 (remi-php71)
               php(zend-abi) = 20160303-64
           Available: php-common-5.3.3-49.el6.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.4.45-13.el6.remi.x86_64 (remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.45-14.el6.remi.x86_64 (remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-7.1.19-1.el6.remi.x86_64 (remi-php71)
               php(zend-abi) = 20160303-64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
    
por whitebear 14.08.2018 / 12:45

1 resposta

0

xhprof não é compatível com o PHP 7.x (projeto final), então yum impedir que você faça upgrade (por design)

Se você remover esta extensão, poderá atualizar

yum remove php-pecl-xhprof

Se você realmente precisa, você tem que ficar com o PHP 5.x

Veja a lista de compatibilidade .

    
por 14.08.2018 / 19:01

Tags