problem with eAccelerator

#1
Hello
i have compile php5.3.21 with eAccelerator all its ok i have added extension=... in php.ini but when i have restarted lsws he show me this.

PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so' - /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so: undefined symbol: zend_function_dtor in Unknown on line 0

i have search in google but i not find anything
im in centos 5 32bit and
 

NiteWave

Administrator
#2
I just compiled latest php 5.3.23 with eAccelerator(the version is 0.9.6.1) without problem --- phpinfo() ok with eAccelerator section

and it's centOS 5.8 32-bit.

how did you compile php -- via admin console or easyApache then building matching php ? eAccelerator's version ?

is eaccelerator.so there?
#ls -al /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so
 
#3
Hello
i have compile php via admin console version (0.9.6.1) i have kloxo panel and when i run this comand php -v he show me this

PHP 5.2.17 (cli) (built: Dec 17 2012 18:16:56)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

but this information of php installed with kloxo and when i open infophp.php he show me PHP Version 5.3.23 and Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
 
#5
hello
thank you for your reply, when i run this command he show me

phpinfo()
PHP Version => 5.3.23

System => Linux server.xxxx.com x.x.xx-xxx.x.x.el5xen #1 SMP Tue Nov 3 17:53:4 7 EST 2009 i686
Build Date => Mar 25 2013 21:31:16
Configure Command => './configure' '--prefix=/usr/local/lsws/lsphp5' '--with-c url' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable- sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable -mbstring' '--with-iconv' '--with-litespeed'
Server API => LiteSpeed V6.1
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/lsws/lsphp5/lib
Loaded Configuration File => (none)
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20090626
PHP Extension => 20090626
Zend Extension => 220090626
Zend Extension Build => API220090626,NTS
PHP Extension Build => API20090626,NTS
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
 

NiteWave

Administrator
#6
Configuration File (php.ini) Path => /usr/local/lsws/lsphp5/lib
Loaded Configuration File => (none)
this is the reason --- you don't have a php.ini file

for quick test, create
/usr/local/lsws/lsphp5/lib/php.ini, add just 1 line:
extension=eaccelerator.so

restart lsws, the error may disappear.
 
Top