Failed to load eaccelerator.so and ZendExtensionManager.so

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Failed to load eaccelerator.so and ZendExtensionManager.so

Postby heigazen » 08. November 2006 05:46

Hi,

I'm running XAMPP 1.5.4a on CentOS 4.4.
I tried to turn on the eaccelerator by removing ';' from the eaccelerator part of php.ini.
But XAMPP returned the following warning message:
Starting XAMPP for Linux 1.5.4a...
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP for Linux started.

I checked whether .../no-debug-non-zts-20050922 contained eaccelerator.so and found that there was no eaccelerator.
So I downloaded the development package of XAMPP and the src of latest eaccelerator (ver. 0.95) and compiled it.
And then I installed the eaccelerator.so to .../no-debug-non-zts-20050922 and start XAMPP again.
But it still returned the same warning:
Starting XAMPP for Linux 1.5.4a...
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP for Linux started.

I thought this was the library problem so I added this directory to $LD_LIBRARY_PATH and /etc/ld.so.conf and restart lampp, but it returned the same warning.
I also tried to install ZendOptimizer to XAMPP, but almost the same warning was returned:
Starting XAMPP for Linux 1.5.4a...
Failed loading /opt/lampp/zend/lib/ZendExtensionManager.so: /opt/lampp/zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP for Linux started.

Does anyone have any idea to solve this problem?
Thanks in advance.
heigazen
 
Posts: 8
Joined: 08. November 2006 05:18
Location: Japan

Postby rayden7 » 10. November 2006 21:39

Hey heigazen - I'm having (nearly) the exact same problem as you. However, I found a copy of eaccelerator.so in /opt/lampp/lib/php/extensions/no-debug-non-zts-20020429/ (I believe this was from an older XAMPP install), so I copied eaccelerator.so over to /opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/, and now I get this error when I start XAMPP:

Starting XAMPP for Linux 1.5.4a...
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so: undefined symbol: OnUpdateInt in Unknown on line 0
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Another MySQL daemon is already running.
XAMPP: Another FTP daemon is already running.
XAMPP for Linux started.


If anybody else has any ideas as to what's going on here, or can provide insight into this post this post, please let us know!
rayden7
 
Posts: 2
Joined: 10. November 2006 21:16

Postby underdone » 14. November 2006 20:12

I'm willing to bet that this is a bug, because i got this error with a completely new install of lampp.
User avatar
underdone
 
Posts: 34
Joined: 15. October 2006 04:56
Location: Albuquerque, NM

Postby rayden7 » 14. November 2006 20:48

I agree - I think my issue would have been identical to the one that heigazen reported, had I not already copied the old eaccelerator.so file over (I also installed the latest version of XAMPP 1.5.4a when I experienced this issue).
rayden7
 
Posts: 2
Joined: 10. November 2006 21:16

eaccelerator.so definitely missing

Postby eleavings » 22. November 2006 17:57

Yes, just agreeing with the rest. eAccelerator is definitely missing in 1.5.4.a from the /opt/lampp/lib/php/extensions in the linux package.
eleavings
 
Posts: 1
Joined: 22. November 2006 17:50

Postby maddog39 » 25. November 2006 21:50

So is there no way to fix this issue?
maddog39
 
Posts: 6
Joined: 23. December 2005 04:52

Postby underdone » 26. November 2006 01:26

I think we're all stuck waiting for the next version to come out. :(
User avatar
underdone
 
Posts: 34
Joined: 15. October 2006 04:56
Location: Albuquerque, NM

Postby Kristian Marcroft » 26. November 2006 11:08

Hi,

just wait another ~48 hours :)
New releases are currently being built.

Regards,
Kristian Marcroft
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby heigazen » 26. November 2006 15:56

Kristian Marcroft wrote:just wait another ~48 hours :)
New releases are currently being built.

Can we use the latest eAccelerator or ZendOptimizer in new releases?
heigazen
 
Posts: 8
Joined: 08. November 2006 05:18
Location: Japan

Postby Kristian Marcroft » 26. November 2006 16:06

Hi,

I'd guess so yes.
I have not tested. You may however download the new release from SourceForge already.

Regards,
Kristian Marcroft
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby heigazen » 26. November 2006 16:32

Hi Kristian,
Kristian Marcroft wrote:I'd guess so yes.
I have not tested. You may however download the new release from SourceForge already.

I just downloaded it from SourceForge, upgraded my xampp, and turned on eAccelerator.

# /opt/lampp/lampp restart
Starting XAMPP for Linux 1.5.5...
Failed loading /opt/lampp/zend/lib/ZendExtensionManager.so: /opt/lampp/zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP for Linux started.

# /opt/lampp/bin/php -v
PHP 5.2.0 (cli) (built: Nov 26 2006 10:25:07)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
with eAccelerator v0.9.5, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

ZendOptimizer has not worked yet, but eAccelerator works successfully!!
Thank you so much :D
heigazen
 
Posts: 8
Joined: 08. November 2006 05:18
Location: Japan

Postby Kristian Marcroft » 26. November 2006 16:50

Hi,

could you please try this:

# ldd /opt/lampp/zend/lib/ZendExtensionManager.so

and paste the output here?
Thanks

Regards
Kristian Marcroft
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby heigazen » 26. November 2006 16:57

Kristian Marcroft wrote:could you please try this:

# ldd /opt/lampp/zend/lib/ZendExtensionManager.so

and paste the output here?

Sure, the output is as follows:
# ldd /opt/lampp/zend/lib/ZendExtensionManager.so
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a9567e000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000002a95805000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95908000)
/lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)
heigazen
 
Posts: 8
Joined: 08. November 2006 05:18
Location: Japan

Postby Kristian Marcroft » 26. November 2006 17:10

Hi,

which version of the ZendExtension did you use?
I would guess you used 64bit. If this is the case, could you please use the 32bit?
XAMPP is only compiled for 32bit systems. With appropiate libs installed you can also run 32bit libaries in 64bit enviroument.

Thanks
Kristian Marcroft
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby heigazen » 26. November 2006 18:50

Kristian Marcroft wrote:which version of the ZendExtension did you use?
I would guess you used 64bit. If this is the case, could you please use the 32bit?
XAMPP is only compiled for 32bit systems. With appropiate libs installed you can also run 32bit libaries in 64bit enviroument.

You're right, I was trying to use the 64-bit version of ZendOptimizer.
I re-downloaded the 32-bit version, installed it, and restarted xampp.
As a result, I received the follwoing message:

Starting XAMPP for Linux 1.5.5...
PHP Warning: Zend Optimizer does not support this version of PHP - please upgrade to the latest version of Zend Optimizer in Unknown on line 0
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP for Linux started.

I guess the latest version of ZendOptimizer has not supported PHP5.2.0 yet.
I should wait for the next release.

Kristian, thank you so much for your helpful comments :D
heigazen
 
Posts: 8
Joined: 08. November 2006 05:18
Location: Japan

Next

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests