ioncube broken / zend not loading

Zion Ahead

Well-Known Member
Nov 10, 2006
347
0
166
[email protected] [~]# php -v
Failed loading /usr/local/ioncube/ioncube_loader_lin_5.1.so: /usr/local/ioncube/ioncube_loader_lin_5.1.so: undefined symbol: zend_unmangle_property_name_ex
PHP 5.2.0 (cli) (built: Feb 2 2007 22:41:26)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
with Zend Extension Manager v1.0.11, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.0, Copyright (c) 1998-2006, by Zend Technologies

php.ini

[Zend]

zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.1.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.0
zend_optimizer.version=3.2.0

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

**

Code:
[email protected] [/usr/local/ioncube]# ls
./                          ioncube_loader_lin_4.2.so*     ioncube_loader_lin_4.4_ts.so*  ioncube_loader_lin_5.2.so*
../                         ioncube_loader_lin_4.2_ts.so*  ioncube_loader_lin_5.0.so*     ioncube_loader_lin_5.2_ts.so*
ioncube-encoded-file.php    ioncube_loader_lin_4.3.so*     ioncube_loader_lin_5.0_ts.so*  LICENSE.txt
ioncube-loader-helper.php   ioncube_loader_lin_4.3_ts.so*  ioncube_loader_lin_5.1.so*     README.txt
ioncube_loader_lin_4.1.so*  ioncube_loader_lin_4.4.so*     ioncube_loader_lin_5.1_ts.so*
Can someone please explain the fix to this?
 

Zion Ahead

Well-Known Member
Nov 10, 2006
347
0
166
I changed ioncube to 5.2 from 5.1, that corrected the ioncube error message but unfortunately zend opt is still not loading

[email protected] [/usr/local/ioncube]# php -v
PHP 5.2.0 (cli) (built: Feb 2 2007 22:41:26)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.24, Copyright (c) 2002-2006, by ionCube Ltd., and
with Zend Extension Manager v1.0.11, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.0, Copyright (c) 1998-2006, by Zend Technologies
 

Ixel

Member
Apr 3, 2005
12
0
151
Hi,
I have the same issue regarding ZEND not loading/installing on the newest PHP available. ZEND installer comes up with an error at the end (just after the section where it attempts to restart apache) stating that installation has failed and I should restart apache manually. I restarted apache and it has not loaded ZEND still.

Ixel.
 

ioncube

Member
Verifed Vendor
Dec 22, 2004
5
0
151
I changed ioncube to 5.2 from 5.1, that corrected the ioncube error message but unfortunately zend opt is still not loading
You probably figured this afterwards, but the numbers in Loader naming refers to PHP version, hence needing the 5.2 Loader with PHP 5.2. This does sometimes get confusing with OS's that have similar version numbers, e.g. FreeBSD.