Topic: php-suhosin php-eaccelerator install issue

Hello,

I can't install php-suhosin php-eaccelerator on my server (Centos x64)

[root@solutions ~]# yum -y install php-suhosin php-eaccelerator
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Could not get metalink https://mirrors.fedoraproject.org/metal … rch=x86_64 error was
14: Peer cert cannot be verified or peer cert invalid
* base: mirror.nl.leaseweb.net
* epel: mirror.nl.leaseweb.net
* extras: centos.weepeetelecom.nl
* remi: fr2.rpmfind.net
* updates: mirror.nl.leaseweb.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-eaccelerator.x86_64 1:0.9.6.1-1.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: 1:php-eaccelerator-0.9.6.1-1.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: 1:php-eaccelerator-0.9.6.1-1.el6.x86_64
---> Package php-suhosin.x86_64 0:0.9.29-2.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-suhosin-0.9.29-2.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-suhosin-0.9.29-2.el6.x86_64
--> Processing Conflict: php-xcache-3.0.1-1.el6.remi.x86_64 conflicts php-eaccelerator
--> Finished Dependency Resolution
Error: Package: 1:php-eaccelerator-0.9.6.1-1.el6.x86_64 (epel)
           Requires: php(zend-abi) = 20090626
           Installed: php-common-5.4.12-1.el6.remi.x86_64 (@remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.3.3-3.el6_2.8.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-14.el6_3.x86_64 (updates)
               php(zend-abi) = 20090626
           Available: php-common-5.4.11-1.el6.remi.x86_64 (remi)
               php(zend-abi) = 20100525-x86-64
Error: Package: php-suhosin-0.9.29-2.el6.x86_64 (epel)
           Requires: php(api) = 20090626
           Installed: php-common-5.4.12-1.el6.remi.x86_64 (@remi)
               php(api) = 20100412-x86-64
           Available: php-common-5.3.3-3.el6_2.8.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.3.3-14.el6_3.x86_64 (updates)
               php(api) = 20090626
           Available: php-common-5.4.11-1.el6.remi.x86_64 (remi)
               php(api) = 20100412-x86-64
Error: Package: php-suhosin-0.9.29-2.el6.x86_64 (epel)
           Requires: php(zend-abi) = 20090626
           Installed: php-common-5.4.12-1.el6.remi.x86_64 (@remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.3.3-3.el6_2.8.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-14.el6_3.x86_64 (updates)
               php(zend-abi) = 20090626
           Available: php-common-5.4.11-1.el6.remi.x86_64 (remi)
               php(zend-abi) = 20100525-x86-64
Error: php-xcache conflicts with php-eaccelerator
Error: Package: 1:php-eaccelerator-0.9.6.1-1.el6.x86_64 (epel)
           Requires: php(api) = 20090626
           Installed: php-common-5.4.12-1.el6.remi.x86_64 (@remi)
               php(api) = 20100412-x86-64
           Available: php-common-5.3.3-3.el6_2.8.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.3.3-14.el6_3.x86_64 (updates)
               php(api) = 20090626
           Available: php-common-5.4.11-1.el6.remi.x86_64 (remi)
               php(api) = 20100412-x86-64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Please recheck, thank you.

Re: php-suhosin php-eaccelerator install issue

1/ suhosin

I don't provides this extension, and don't plan to.
If this extension was really useful, it will be part of upstream official PHP.
And PHP project strongly refuse it.

And there is still not PHP 5.4 compatible version.

2/ eAccelerator

This project is simply dead.
You should use another opcode cache (all available in the remi repo).
* XCache
* APC (well, not in a really good shape, but works correctly in most of the case)
* ZendOptimizerPlus (still experimental, but will be merged in PHP and will become the official PHP opcode cache)

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