View Full Version : ionCube what?
Maxhost
01-06-2008, 03:37 AM
Ok. I have always scripts that use ionCube and i never install it successfull after 20 tries.
Installatron installs the ioncube to but i still got error:
Site error: the file /usr/local/directadmin/plugins/iTron/sources/kernel.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.
Someone can tell me how to get Installatron work?
iceuk626
01-06-2008, 04:03 AM
I basically put the loaders in /usr/local/ioncube directory and added this directive to the global php.ini
zend_extension =/usr/local/ioncube/ioncube_loader_lin_5.2.so
You must add it before the zend loaders
i.e
[Zend]
zend_extension =/usr/local/ioncube/ioncube_loader_lin_5.2.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.8
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.8
zend_optimizer.version=3.2.8
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
Maxhost
01-06-2008, 04:07 AM
It didnt work :( (yes i restarted httpd)
[Zend]
zend_extension =/usr/local/ioncube/ioncube_loader_lin_5.2.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.8
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.8
zend_optimizer.version=3.2.8
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
iceuk626
01-06-2008, 04:09 AM
what does phpinfo() tell you?
It should show something like this:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
Maxhost
01-06-2008, 04:14 AM
what does phpinfo() tell you?
It should show something like this:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
iceuk626
01-06-2008, 04:19 AM
Are you 100% sure you have put the loaders in the correct directory ?
/usr/local/ioncube/
and you are adding the directive to the correct php.ini?
try
#php-v
to see if you get any errors
Maxhost
01-06-2008, 04:21 AM
Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so: /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS64
PHP 5.2.5 (cli) (built: Nov 11 2007 16:41:45)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
iceuk626
01-06-2008, 04:30 AM
You need to make sure you use the correct loaders for your system is it 32bit or 64bit?
uname -i
Maxhost
01-06-2008, 04:36 AM
PHP 5.2.5 (cli) (built: Nov 11 2007 16:41:45)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
OK it work but Installatron gives the same error.
Site error: the file /usr/local/directadmin/plugins/iTron/sources/kernel.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.
admin » Plugins
DirectAdmin Web Control Panel © 2007 JBMC Software
iceuk626
01-06-2008, 04:40 AM
I think installertron must need the loaders at runtime then, did you try it again at runtime with the correct loaders ?
venon
01-06-2008, 04:44 AM
I was having a similar problem in one of my server and I reupload files in binary and fix problem for me .
iceuk626
01-06-2008, 04:48 AM
will the repair command sort it out :
curl -O http://data1.liquenox.com/installatron/repair
/usr/local/bin/php -n -q repair -f
Maxhost
01-06-2008, 04:51 AM
Alright it works!
Thank your for helping me out :D.
(having a great birthday to :P)
Greetings,
Maxhost Internet Diensten
Peter.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.