Topic: Conflict with PHP 5.3.3 and eAccelerator

I had upgraded to the latest PHP 5.3.3 package and had eAccelerator installed.  This causes a crash with the following code:

<?php

$GLOBALS['foo'] = array('foo0','foo1');                                                         
$GLOBALS['bar'] = 0;     

echo $GLOBALS['foo'][$GLOBALS['bar']];       

?>

I removed the eAccelerator package and the code then worked as expected.

PhpMyAdmin uses code like this and will crash on systems with the 5.3.3 and eAccelerator packages installed.

Re: Conflict with PHP 5.3.3 and eAccelerator

You should report this upstream :
http://eaccelerator.net/

I will make some investigations, but, for now, I could only encourage you to test APC.
http://blog.famillecollet.com/post/2010 … c-3.1.4-en

+

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: Conflict with PHP 5.3.3 and eAccelerator

I can't crash apache, with your test script, using

  • php-5.3.3-1.fc13.remi.x86_64

  • php-eaccelerator-0.9.6.1-1.fc13.remi.x86_64

Do you use the latest version (expecially eAccelerator 0.9.6.1) ?
Have you restart apache ?
Have you try with an empty cache (/var/cache/php-eaccelerator) ?

+

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: Conflict with PHP 5.3.3 and eAccelerator

Ok, I can reproduce the crash on EL-5 only.

Ticket : http://eaccelerator.net/ticket/438

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: Conflict with PHP 5.3.3 and eAccelerator

Please try new build : php-eaccelerator-0.9.6.1-2

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: Conflict with PHP 5.3.3 and eAccelerator

The new build works perfectly.

Thanks Remi!