A
A
Alexander Arbuzov2017-09-25 15:02:19
linux
Alexander Arbuzov, 2017-09-25 15:02:19

I get an error when trying to install memcache. I do not understand what the system does not like?

I want to install memcache for bitrix. When installing the extension for bitrix, I get the following message:

yum -y install php-pecl-memcache
Loaded plugins: etckeeper, fastestmirror, merge-conf, refresh-packagekit, replace, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.awanti.com
 * epel: fedora-mirror01.rbc.ru
 * extras: mirror.awanti.com
 * updates: dedic.sh
 * webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-memcache.x86_64 0:3.0.5-4.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-memcache-3.0.5-4.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-pecl-memcache-3.0.5-4.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-memcache-3.0.5-4.el6.x86_64 (base)
           Requires: php(zend-abi) = 20090626
           Installed: php56w-common-5.6.28-1.w6.x86_64 (@webtatic)
               php(zend-abi) = 20131226-64
           Available: php56w-common-5.6.31-1.w6.x86_64 (webtatic)
               php(zend-abi) = 20131226-64
           Available:Mphp5 0-common-5.8 1325/178386_64 (50/63712)
               php(zend-abi) = 20131226-64
Error: Package: php-pecl-memcache-3.0.5-4.el6.x86_64 (base)
           Requires: php(api) = 20090626
           Installed: php56w-common-5.6.28-1.w6.x86_64 (@webtatic)
               php(api) = 20131106-64
           Available: php56w-common-5.6.31-1.w6.x86_64 (webtatic)
               php(api) = 20131106-64
           Available: php56w-common-5.6.31-2.w6.x86_64 (webtatic)
               php(api) = 20131106-64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I don't understand why he doesn't like it? That I have a newer php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-09-26
@arbuzzz

Since php-pecl-memcache comes with epel, it's better to install php from there:

sudo yum -y --disablerepo=webtatic install php-pecl-memcache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question