Upgrading Ioncube: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with "To upgrade Ioncube to latest version you need to start by identifying the php version you are running: <pre> # php -v PHP 5.5.38 (cli) (built: Jul 21 2016 12:51:12) Copyrigh...")
(No difference)

Revision as of 12:06, 4 March 2019

To upgrade Ioncube to latest version you need to start by identifying the php version you are running:

# php -v
PHP 5.5.38 (cli) (built: Jul 21 2016 12:51:12) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.20, Copyright (c) 2002-2016, by ionCube Ltd.

In this case, the PHP 5.5 is running with a IonCube 5.0.20. Please note you need at least version 10 to run the web interface. To upgrade

cd /usr/local/src
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar xzvf ioncube_loaders_lin_x86-64.tar.gz
\cp ioncube/ioncube_loader_lin_5.5.so /usr/lib64/php/modules/

In case you are running a different PHP version, you need to copy the correct ioncube version.