Page 1 of 1

Ioncube loader cannot be installed

Posted: Wed Jun 10, 2015 6:54 am
by tim
Hi all,

I have this issue... I cannot install Ioncube loaders on Centos 6.6 and although I have tried the Wizard and to copy the ioncube_loader_lin_5.4.so, I still get the following error:

Please note that the following problems currently exist with the ionCube Loader installation:
The following ini file could not be found by the Wizard: Main ini file
The necessary zend_extension line could not be found in the configuration.
Please note also the following issue:
The correct loader for your system has been found at /home/xxxxx/web/zzzzz.xxx/public_html/ioncube/ioncube_loader_lin_5.4.so. You may wish to copy the loader from /home/xxxxx/web/zzzzz.xxx/public_html/ioncube/ioncube_loader_lin_5.4.so to /usr/lib64/php/modules.

# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ioncube_loader_lin_5.4.so' - /usr/lib64/php/modules/ioncube_loader_lin_5.4.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.4.41 (cli) (built: May 14 2015 23:37:34)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

At the Apache log I see this:

[Tue Jun 09 22:45:48 2015] [notice] mod_ruid2/0.9.8 enabled
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ioncube_loader_lin_5.6.so' - /usr/lib64/php/modules/ioncube_loader_lin_5.6.so: undefined symbol: zend_execute_ex in Unknown on line 0
or
[Wed Jun 10 00:48:44 2015] [warn-phpd] The ionCube Loader is a Zend-Engine extension and not a module (pid 13828)
[Wed Jun 10 00:48:44 2015] [warn-phpd] Please specify the Loader using 'zend_extension' in php.ini (pid 13828)
PHP Fatal error: Unable to start ionCube Loader module in Unknown on line 0


And when I do all the steps required to install ioncube (that is copying the .so file to the right location and adding the zend_extension line at php.ini, I cannot start Apache...

Anyone had this issue before? Any help is appreciated...

Regards
Tim

Re: Ioncube loader cannot be installed

Posted: Wed Jun 10, 2015 7:02 am
by tim
OK guys,

I managed to do it this way:
# yum install php-ioncube-loader

And now when I go to the Ioncube Loader Wizard page it shows that it works::
ionCube Loader Wizard
Loader Installed Successfully
The ionCube Loader version 5.0.7 for PHP 5.4 is installed and encoded files should run successfully.

Regards,
Tim

Re: Ioncube loader cannot be installed

Posted: Wed Jun 10, 2015 7:11 am
by skurudo
Nice, but on this forum was manual for this situation ;-)
viewtopic.php?f=11&t=8213&p=25619

Re: Ioncube loader cannot be installed

Posted: Wed Jun 10, 2015 8:03 am
by tim
Yes, you are right...! missed that... ;)

But still, I wonder why a manual installation throws errors and copying the .so file inside /usr/lib64/php/modules/ stops apache from being started, as I am copying the right file.

Re: Ioncube loader cannot be installed

Posted: Fri Sep 09, 2016 12:39 pm
by skurudo
Ok, closed ;)