Here’s a ‘possible’ solution to the ionCube Loader problem that worked for me. At one point in time I installed DBG so that I could do remote debugging using PhpEd. It worked ok, but I didn’t see a need for it, however I never uninstalled the Zend DBG debugger extension. When trying to work through the problem of getting ionCube from causing some problem I noticed that when I had the line:
zend_extension = /usr/local/ioncube/ioncube_loader_fre_5.2.so
in my php.ini file, my:
#php -m
PHP Warning: Module 'ionCube Loader' already loaded in Unknown on line 0
The ionCube PHP Loader is disabled because of startup problems.
[Zend Modules]
the ionCube PHP Loader
and
#php -v
PHP Warning: Module 'ionCube Loader' already loaded in Unknown on line 0
The ionCube PHP Loader is disabled because of startup problems.
PHP 5.2.11 (cli) (built: Jun 20 2010 07:56:41)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v4.0.0, Copyright (c) 2002-2010, by ionCube Ltd., and
with out the zend_extension config it was:
#php -m
[Zend Modules]
DBG
and
#php -v
Failed loading ioncube_loader_fre_5.2.so: Shared object "ioncube_loader_fre_5.2.so" not found, required by "php"
PHP 5.2.11 (cli) (built: Jun 20 2010 07:56:41)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with DBG v3.8.11, (C) 2000,2009, by Dmitri Dmitrienko
Which is quite puzzling in it’s own regard. Why does adding it remove DBG? NFI!
Since I currently do not use DBG I just yanked it out.Problem Solved… For me at least.
# php -v
PHP 5.2.11 (cli) (built: Jun 20 2010 07:56:41)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v4.0.0, Copyright (c) 2002-2010, by ionCube Ltd.
Did this solve your problem?
If this solved your problem please leave a comment below. If you found a different solution, please come back and leave a comment to help out the next person who comes here like you.