Ticket #61 (closed defect: fixed)

Opened 4 years ago

Last modified 2 months ago

eAccelerator does not work on CentOS release 4.3 (Final) 64bit + PHP 4.4.2

Reported by: anton@basehost.net Assigned to: somebody
Priority: major Milestone: 0.9.5
Component: eAccelerator Version: 0.9.5
Keywords: undefined symbol: _zval_ptr_dtor Cc:

Description

Hi, Sorry for this short summary, but I am very confused.. We are using eAccelerator on many servers without any problem and I can say - it's working very good, thank you! But suddenly on one of the servers it does not want to work. This is new eAccelerator installation, I took latest stable and latest beta - results are the same. In /tmp/eaccelerator I get this error message:

[20-Apr-2006 11:08:17] PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/eaccelerator.so' - /usr/local/li b/php/extensions/eaccelerator.so: undefined symbol: _zval_ptr_dtor in Unknown on line 0

Apache is working fine, except that eaccelerator.so is not loaded.. System is in 64bit mode,it's AMD dual core CPU. All our servers have more or less default number of libraries, we run WHM/Cpanel.

If you need more information, please ask.

Regards, Anton.

Change History

04/20/06 13:23:08 changed by bart

This is a compilation problem. Try a clean source checkout and run phpize from the php install you want eAccelerator for.

04/27/06 14:55:30 changed by anton@basehost.net

I have tried to recompile PHP from clean source and got eAccelerator's source from svn, but still it does not work. Error is the same. Here is my PHP compilation settings:

'./configure' '--enable-pic' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-mhash' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--with-openssl' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--with-zlib'

Running "php -v" produces the following output:

PHP 4.4.2 (cli) (built: Apr 27 2006 12:45:46) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

with eAccelerator v0.9.5-beta2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

05/08/06 12:47:25 changed by bart

But eAccelerator get's loaded! Otherwise you wont see the eA banner when you run php -v!

05/18/06 12:32:31 changed by anton@basehost.net

Yes, eAccelerator is being loaded into cli PHP, but it does not appear when I display phpinfo(). But actually we found what was wrong.. On 64-bit CentOS you should _not_ compile PHP with versioning. I have recompiled php without versioning and now I got eAccelerator working fine! :)

05/26/06 15:25:19 changed by hans

  • status changed from new to closed.
  • resolution set to fixed.

Ok closing this one

02/24/10 11:00:16 changed by sim

decoration Changed 1 year ago by admin

bathtub Changed 1 year ago by admin

solar system Changed 1 year ago by admin

stair parts Changed 1 year ago by admin

solar supply Changed 1 year ago by admin

05/25/10 16:26:48 changed by bascorp