• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Ioncube Loader v. 10.0.4. - how do I enable it?

kanv1s

New Pleskian
Plesx Onyx v.17.5.3
Debian 8, php 7.1

For some scripts to work, I need Ioncube Loader v 10.0.4.

I see the installed package - plesk-php71-ioncube-loader 10.0.3-debian8.0.17101012 (PHP v 7.1 packages for jessie by Plesk)

But at the moment the 7th version is working

Code:
/php -v
PHP 7.1.13 (cli) (built: Jan  9 2018 11:16:44) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.3, Copyright (c) 2002-2017, by ionCube Ltd.
    with Zend OPcache v7.1.13, Copyright (c) 1999-2017, by Zend Technologies

How can I change it for 10 th?
 
Please use following method:

# wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
# tar -xzf ioncube_loaders_lin_x86-64.tar.gz
# cd ioncube/
# cp /opt/plesk/php/7.1/lib64/php/modules/ioncube_loader_lin_7.1.so /opt/plesk/php/7.1/lib64/php/modules/ioncube_loader_lin_7.1.so_bak
# cp ioncube_loader_lin_7.1.so /opt/plesk/php/7.1/lib64/php/modules/
# plesk bin php_handler --reread

# /opt/plesk/php/7.1/bin/php -v
PHP 7.1.13 (cli) (built: Jan 9 2018 11:08:24) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.1.1, Copyright (c) 2002-2017, by ionCube Ltd.
with Zend OPcache v7.1.13, Copyright (c) 1999-2017, by Zend Technologies
 
And how to enable it on Plesk PHP 7.2.3 ?

I copy the file, but it only says:
# /opt/plesk/php/7.2/bin/php -v
PHP 7.2.3 (cli) (built: Mar 2 2018 14:04:04) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.3, Copyright (c) 1999-2018, by Zend Technologies


but in 7.1.15 works ok:
# /opt/plesk/php/7.1/bin/php -v
PHP 7.1.15 (cli) (built: Mar 2 2018 14:03:42) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.0, Copyright (c) 2002-2018, by ionCube Ltd.
with Zend OPcache v7.1.15, Copyright (c) 1999-2018, by Zend Technologies

Best regards,
Horacio
 
And how to enable it on Plesk PHP 7.2.3 ?

Use following steps:

# wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
# tar -xvf ioncube_loaders_lin_x86-64.tar.gz
# cp ioncube/ioncube_loader_lin_7.2.so /opt/plesk/php/7.2/lib64/php/modules/
# echo "zend_extension=ioncube_loader_lin_7.2.so" > /opt/plesk/php/7.2/etc/php.d/00-ioncube-loader.ini
# /usr/local/psa/bin/php_settings -u

As result:

# /opt/plesk/php/7.2/bin/php -v
PHP 7.2.3 (cli) (built: Mar 2 2018 14:05:04) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.0, Copyright (c) 2002-2018, by ionCube Ltd.
with Zend OPcache v7.2.3, Copyright (c) 1999-2018, by Zend Technologies
 
Back
Top