Page 1 of 1

Ioncube Loaders not working

Posted: Tue Aug 18, 2015 9:26 am
by amirkhonov
Hello!
I've installed Ioncube Loaders on Centos 6.
php -v answer:

Code: Select all

[root@srv ~]# php -v
PHP 5.4.40 (cli) (built: Apr 15 2015 15:44:43) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.14, Copyright (c) 2002-2015, by ionCube Ltd.
Ioncube is working on default.domain now, but it doesn't work on other virtual host websites.

Answer of Ioncube Wizard on virtual host website:
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.

Re: Ioncube Loaders not working

Posted: Wed Aug 19, 2015 10:41 am
by augustine_10
Add a php info page on other vhosts and see if it's showing ioncube loader in php info.

Re: Ioncube Loaders not working

Posted: Tue Sep 01, 2015 1:00 pm
by skurudo
How do you install ioncube?

Code: Select all

wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

tar zxf ioncube_loaders_lin_x86-64.tar.gz

mv ioncube /usr/local
in php.ini:

Code: Select all

[Zend Modules]
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.4.so
zend_extension_ts = /usr/local/ioncube/ioncube_loader_lin_5.4_ts.so
then ->
service httpd restart

and you get something like this ->

Code: Select all

 $ php -v
PHP 5.4.41-0+deb7u1 (cli) (built: May 22 2015 12:49:18)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd.