Topic: Installing xcache dependency error

Hello Remi, I need help with installing xcache. Please help me. Dependency errors sad

[root@6447 ~]# yum --enablerepo=remi,remi-test install php-xcache xcache-admin                                                                                                                                     
Loaded plugins: fastestmirror                                                                                                                                                                                      
Setting up Install Process                                                                                                                                                                                         
Loading mirror speeds from cached hostfile                                                                                                                                                                         
 * base: centos.vpsnet.lt                                                                                                                                                                                          
 * extras: centos.vpsnet.lt                                                                                                                                                                                        
 * remi: mirror.23media.de                                                                                                                                                                                         
 * remi-safe: mirror.23media.de                                                                                                                                                                                    
 * remi-test: mirror.23media.de                                                                                                                                                                                    
 * updates: centos.vpsnet.lt                                                                                                                                                                                       
Resolving Dependencies                                                                                                                                                                                             
--> Running transaction check                                                                                                                                                                                      
---> Package php-xcache.x86_64 0:3.1.1-1.el6.remi.5.4 will be installed                                                                                                                                            
--> Processing Dependency: php(zend-abi) = 20100525-x86-64 for package: php-xcache-3.1.1-1.el6.remi.5.4.x86_64                                                                                                     
--> Processing Dependency: php(api) = 20100412-x86-64 for package: php-xcache-3.1.1-1.el6.remi.5.4.x86_64                                                                                                          
---> Package xcache-admin.noarch 0:3.1.1-1.el6.remi.5.4 will be installed                                                                                                                                          
--> Finished Dependency Resolution                                                                                                                                                                                 
Error: Package: php-xcache-3.1.1-1.el6.remi.5.4.x86_64 (remi)                                                                                                                                                      
           Requires: php(zend-abi) = 20100525-x86-64                                                                                                                                                               
           Installed: php-common-5.5.38-7.el6.remi.x86_64 (@remi-php55)                                                                                                                                            
               php(zend-abi) = 20121212-64                                                                                                                                                                         
           Available: php-common-5.3.3-47.el6.x86_64 (base)                                                                                                                                                        
               php(zend-abi) = 20090626                                                                                                                                                                            
           Available: php-common-5.3.3-48.el6_8.x86_64 (updates)                                                                                                                                                   
               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.6.30-0.1.RC1.el6.remi.x86_64 (remi-test)                                                                                                                                        
               php(zend-abi) = 20131226-64                                                                                                                                                                         
           Available: php-common-5.6.30-2.el6.remi.x86_64 (remi-test)                                                                                                                                              
               php(zend-abi) = 20131226-64                                                                                                                                                                         
Error: Package: php-xcache-3.1.1-1.el6.remi.5.4.x86_64 (remi)                                                                                                                                                      
           Requires: php(api) = 20100412-x86-64                                                                                                                                                                    
           Installed: php-common-5.5.38-7.el6.remi.x86_64 (@remi-php55)                                                                                                                                            
               php(api) = 20121113-64                                                                                                                                                                              
           Available: php-common-5.3.3-47.el6.x86_64 (base)                                                                                                                                                        
               php(api) = 20090626                                                                                                                                                                                 
           Available: php-common-5.3.3-48.el6_8.x86_64 (updates)                                                                                                                                                   
               php(api) = 20090626                                                                                                                                                                                 
           Available: php-common-5.4.45-13.el6.remi.x86_64 (remi)                                                                                                                                                  
               php(api) = 20100412-x86-64                                                                                                                                                                          
           Available: php-common-5.6.30-0.1.RC1.el6.remi.x86_64 (remi-test)                                                                                                                                        
               php(api) = 20131106-64                                                                                                                                                                              
           Available: php-common-5.6.30-2.el6.remi.x86_64 (remi-test)                                                                                                                                              
               php(api) = 20131106-64                                                                                                                                                                              
 You could try using --skip-broken to work around the problem                                                                                                                                                      
 You could try running: rpm -Va --nofiles --nodigest

Re: Installing xcache dependency error

>           Installed: php-common-5.5.38-7.el6.remi.x86_64 (@remi-php55)                                                                                                                                           

You have PHP 5.5 installed, but remi-php55 is not enabled.

See the Wizard instructions: http://rpms.remirepo.net/wizard/

BTW, please note that:

1/ php 5.5 is dead

=> https://blog.remirepo.net/post/2016/09/ … .5-is-dead

2/ XCache is a dead project

For opcode cache (performance), use php-opcache
For user data cache, various alternatives exists (APCU, ...)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Installing xcache dependency error

> * remi-test: mirror.23media.de                                                                                                                                                                                   

You probably also need to disable this one

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Installing xcache dependency error

Thank you Remi:) helped