ioncube php loader NOT LOAD

Support/Development for PHP
mneese
Forum Regular
Forum Regular
Posts: 218
Joined: Thu Apr 23, 2009 12:08 pm

ioncube php loader NOT LOAD

Unread post by mneese »

hi,
using plesk 9.01, cent os5, latest upgrades from the atomic repository.

getting this error when run php -v....
failed loading /usr/lib64/php/modules//php_ioncube_loader_lin_5.1_x86_64.so: /usr/lib64/php/modules//php_ioncube_loader_lin_5.1_x86_64.so: undefined symbol: zend_unmangle_property_name_ex
PHP 5.2.9 (cli) (built: Mar 11 2009 08:22:06)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v3.1.33, Copyright (c) 2002-2007, by ionCube Ltd.
looks like some issue with the location
/usr/lib64/php/modules//php_ioncube_loader_lin_5.1_x86_64.so:
so how do i change this to load correctly?

thanks
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Re: ioncube php loader NOT LOAD

Unread post by hostingguy »

edit /etc/php.d/ioncube.ini and change it to something like this:

Code: Select all

zend_extension=/usr/lib64/php/ioncube/ioncube_loader_lin_5.2.so
then do another php -v and see if it solved it.
mneese
Forum Regular
Forum Regular
Posts: 218
Joined: Thu Apr 23, 2009 12:08 pm

Re: ioncube php loader NOT LOAD

Unread post by mneese »

yes that fixed it, but there was an issue also with an older ioncube incorrectly setup, so i just deleted all the older versions.

This is the new response after running php -v:

PHP 5.2.9 (cli) (built: Mar 11 2009 08:22:06)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v3.1.33, Copyright (c) 2002-2007, by ionCube Ltd

thank you
Post Reply