Ioncube not loading after upgrade of zend

Belaird

Well-Known Member
Jun 24, 2004
59
0
156
I recently upgrade PHP to 5.2.1, rand zend installer for 3.2.8, but not I have a problem with Ioncube not loading. What I was able to gather so far, it indicated that I am using the the wrong version of IONCUBR with zend, but I don't know how to upgrade it to a compatable version.

Here is my php info

php -v
Failed loading /usr/local/ioncube/ioncube_loader_lin_4.4.so: /usr/local/ioncube/ioncube_loader_lin_4.4.so: undefined symbol: zend_hash_add_or_update
PHP 5.2.1 (cli) (built: May 20 2007 11:23:32)
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.6, Copyright (c) 1998-2007, by Zend Technologies
I then did an LS of ioncube

[/usr/local/ioncube]# ls
./ ioncube_loader_lin_4.4.so*
../ ioncube_loader_lin_4.4_ts.so*
ioncube-encoded-file.php ioncube_loader_lin_5.0.so*
ioncube-install-assistant.php ioncube_loader_lin_5.0_ts.so*
ioncube-loader-helper.php ioncube_loader_lin_5.1.so*
ioncube_loader_lin_4.0.so* ioncube_loader_lin_5.1_ts.so*
ioncube_loader_lin_4.1.so* ioncube-rtl-tester.php
ioncube_loader_lin_4.2.so* ioncube-sysinfo.php
ioncube_loader_lin_4.2_ts.so* LICENSE.txt
ioncube_loader_lin_4.3.so* README.txt
ioncube_loader_lin_4.3_ts.so*
Can someone direct me how to get the right version of ioncube running?
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
510
3
168
Planet Earth
Yes, you are using worng version of Ioncube. The Ioncube loaders that you have have loaded in php.ini are for PHP4 where you are running PHP5. You need to add new loader in /usr/local/Zend/etc/php.ini file.

In order to do this, copy ioncube-loader-helper.php file from /usr/local/ioncube to any of your working domain's public_html and browse it as http://yourdomain.com/ioncube-loader-helper.php. It will guide you for the rest of the process and also specify the correct loader for your PHP version.
 
Last edited:

Belaird

Well-Known Member
Jun 24, 2004
59
0
156
Ioncube Loader

Thank for your help. I found where to get the installer and fixed ioncube
 
Last edited: