Topic: Centos 5.8 / php-5.4.10-1.el5.remi / php-eaccelerator.x86_64 20.el5.re

My php was upgraded today to php-5.4.10-1.el5.remi.  After Upgrading, I am now receiving errors for two of my php modules (eaccelerator and ffmpeg).

This is the error that is given:

PHP Warning:  PHP Startup: eAccelerator: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20100525
These options need to match
in Unknown on line 0

I have tried to re-compile the ffmpeg module without too much success.  I am wondering if the php-eaccelerator module from the remi repository needs to be rebuilt.

Thank You.
Gemneye

Re: Centos 5.8 / php-5.4.10-1.el5.remi / php-eaccelerator.x86_64 20.el5.re

1/ My php was upgraded today to php-5.4.10-1.el5.remi.
First YUM shouldn't have accept the update because of ABI constraint on the packages.
So you have probably "force" the upgrade (or used manually build modules)

2/ eaccelerator
This project is dead.
I strongly recommend to use another opcode cache (xcache or apc)
A experimental version of eaccelerator is available in remi-test... but it's experimental...
As I don't receive any answer from upstream, for months, I really consider it as dead.

3/ ffmpeg
I don't provide this extension in remi repo.

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: Centos 5.8 / php-5.4.10-1.el5.remi / php-eaccelerator.x86_64 20.el5.re

I did not 'force' an upgrade, at least not manually.  I ran the normal 'yum update' that has always run, and I got the update.

Thank you for the information about eaccelerator being a dead project.  I tried recompiling eaccelerator from SVN.  It did compile, but it still has issues with php.  I will look into the alternatives you have suggested.

I have now also noticed the the avelsieve plug-in for squirrelmail is also not working since the PHP upgrade.  Just throwing it out there in case others read this thread.

Still have not been able to get ffmpeg module working.

Thank you for your support and all that you do for the community.

Re: Centos 5.8 / php-5.4.10-1.el5.remi / php-eaccelerator.x86_64 20.el5.re

For now, I just put

exclude=php-*5.4*

in the remi section of my /etc/yum.conf (or in your /etc/yum.repos.d/remi.conf, etc..) to stop php from migrating to 5.4. It's only a short-term fix, since the last of the 5.3 rpms will grow stale, but it keeps rpm harmony in check for now.

Re: Centos 5.8 / php-5.4.10-1.el5.remi / php-eaccelerator.x86_64 20.el5.re

Also, for ffmpeg, you could try ATrpms' ffmpeg rpm: http://packages.atrpms.net/dist/el5/ffmpeg/

It seems to be built with a lot of the optional modules/plugins, too.

Re: Centos 5.8 / php-5.4.10-1.el5.remi / php-eaccelerator.x86_64 20.el5.re

bchill wrote:

Also, for ffmpeg, you could try ATrpms' ffmpeg rpm: http://packages.atrpms.net/dist/el5/ffmpeg/

It seems to be built with a lot of the optional modules/plugins, too.

Thank You bchill.  I compile ffmpeg from the git hub.  It compiles and runs fine.  What is not working since the PHP 5.4 upgrade is the ffmpeg-php extension which is separate from ffmpeg, mplayer, and the ohter libav* libraries.

On a side note, I did remove php-eaccelerator, and have replaced it with xcache, and it does load without errors.

Re: Centos 5.8 / php-5.4.10-1.el5.remi / php-eaccelerator.x86_64 20.el5.re

Just some notices about ffmpeg extension for php
* project seems dead : no update for months...
* don't build against recent PHP (I have a patch for this)
* don't build against recent ffmpeg (ok with old 0.10 version)

As I have a working RPM for F17, I rebuild it for EL-6, using ffmpeg 0.10.5 from rpmfusion.org

See : php-ffmpeg

Experimental build, no test run.

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: Centos 5.8 / php-5.4.10-1.el5.remi / php-eaccelerator.x86_64 20.el5.re

I too had this issue with PHP 5.4, yum did the upgrade without issue, but a lot of extensions had PHP API issues.

For now, I've reverted back to 5.3.

Re: Centos 5.8 / php-5.4.10-1.el5.remi / php-eaccelerator.x86_64 20.el5.re

> but a lot of extensions had PHP API issues.

Probably manually installed ones.
Packaged ones have an ABI requirement to avoid such problem.

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

10 (edited by johnson33445 2013-06-17 06:44:02)

Re: Centos 5.8 / php-5.4.10-1.el5.remi / php-eaccelerator.x86_64 20.el5.re

Hey,
Try following instead