Heres another one for your (ioncube)

shanit

Well-Known Member
Dec 18, 2005
46
0
156
Is there a way to install ioncube on the whole server instead of just in each account??? and is there an easy way to just type a command in ssh like when I installed zend. thanks

Oh my server specs are
linux
RedHat Enterprise 3 i686 - WHM X v3.1.0

Some other info
General server information:
Operating system Linux
Service Status Click to View
Kernel version 2.4.20-021stab028.3.777-enterprise
Machine Type i686
Apache version 1.3.34 (Unix)
PERL version 5.8.7
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 5.0.5
MySQL version 4.0.25-standard
cPanel Build 10.8.1-RELEASE 10
Theme cPanel X v2.5.0

thanks
Shannon
 

shanit

Well-Known Member
Dec 18, 2005
46
0
156
Hi I am having same problem with ioncube I'm not sure where I"m supposed to put that code

zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.4.so

I started by doing this
wget http://downloads.ioncube.com/loader..._lin_x86.tar.gz
via ssh

and then i found my php.ini file and i found the zend code towards bottom but i'm not sure where to put
zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.4.so
in this code ????

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.10
zend_optimizer.version=2.5.10
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

Thanks
 

Izzee

Well-Known Member
Feb 6, 2004
469
0
166
shanit said:
Hi I am having same problem with ioncube I'm not sure where I"m supposed to put that code....
...zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.4.so
Make sure all the ioncube files have been extracted to the directory /usr/local/ioncube/

Make a php.ini backup incase of a typo ;)

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.10
zend_optimizer.version=2.5.10
<---------------put code in here------------------>
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

Save php.ini then restart apache.

:)
 

codegirl42

Well-Known Member
Mar 9, 2006
93
0
156
found it...but now im getting this error for all crons:

Failed loading /usr/local/ioncube/ioncube_loader_lin_5.0.so: /usr/local/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: _zend_hash_init
 

codegirl42

Well-Known Member
Mar 9, 2006
93
0
156
okay, what a lie....woke up and im still getting these messages:

Failed loading /usr/local/ioncube/ioncube_loader_lin_5.0.so: /usr/local/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: _zend_hash_init


please help. :)
 

kernow

Well-Known Member
Jul 23, 2004
1,015
57
178
cPanel Access Level
Root Administrator
Make sure your editing the right php.ini file, it should be in: /usr/local/Zend/etc/php.ini
If you have Fantastico installed, ioncube is already there so this is my example:
Code:
[Zend]
zend_optimizer.optimization_level=15
zend_extension=/usr/local/cpanel/3rdparty/fantastico/loaders/ioncube_loader_lin_5.1.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.0.1
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.0.1

zend_optimizer.version=3.0.1
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
 

codegirl42

Well-Known Member
Mar 9, 2006
93
0
156
yeah....that's the php.ini that i'm editing....but still same errror.

This is the error I'm getting:
Failed loading /usr/local/cpanel/3rdparty/fantastico/loaders/ioncube_loader_lin_5.1.so: /usr/local/cpanel/3rdparty/fantastico/loaders/ioncube_loader_lin_5.1.so: undefined symbol: _zend_hash_init

and this is what i ahve:

[Zend]
zend_optimizer.optimization_level=15
zend_extension=/usr/local/cpanel/3rdparty/fantastico/loaders/ioncube_loader_lin_5.1.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2_6_2
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_2

zend_optimizer.version=2.6.2
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
 

kernow

Well-Known Member
Jul 23, 2004
1,015
57
178
cPanel Access Level
Root Administrator
My guess, is that your using php version 4.x but trying to use the loader for 5.1 The loader must match the version of php your using. So either upgrade php or get the loader files for php 4.x ( easiest way)
 
Last edited: