• 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

Issue IonCube

Youssef Samp

New Pleskian
Hello,
Iam having problems with ioncube.
When i visit the site it gives me error
Error: Site error: (location) requires the ionCube PHP Loader ioncube_loader_lin_7.0.so to be installed by the website operator. If you are the website operator please use theionCube Loader Wizard to assist with installation.
And its already installed here
root@vps4:~# /opt/plesk/php/7.1/bin/php -v
Cannot load the ionCube PHP Loader - it was already loaded
Cannot load the ionCube PHP Loader - it was already loaded
PHP 7.1.11 (cli) (built: Oct 27 2017 13:37:35) ( 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.4, Copyright (c) 2002-2017, by ionCube Ltd.
with Zend OPcache v7.1.11, Copyright (c) 1999-2017, by Zend Technologies
root@vps4:~#
I installed it from The IonCube loader is not available for Plesk PHP 7.1
But it still not working so please help
 
You shouldn't install additional ioncube loader module according to mentioned instruction. Plesk has already corresponding package plesk-php71-ioncube-loader out of the box. Please use it and remove all customizations.
 
By default there is should only one place where loading ioncube module is defined:

# grep -R ioncube /opt/plesk/php/7.1/etc/*
/opt/plesk/php/7.1/etc/php.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.1.so

Run the same command, find all extra places and remove them except default location in /opt/plesk/php/7.1/etc/php.d/00-ioncube-loader.ini file as above.
 
root@vps4:~# grep -R ioncube /opt/plesk/php/7.1/etc/*
/opt/plesk/php/7.1/etc/php.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.1.so
/opt/plesk/php/7.1/etc/php.ini:zend_extension=ioncube_loader_lin_7.1.so
/opt/plesk/php/7.1/etc/php.ini:zend_extension=ioncube_loader_lin_7.1.so
root@vps4:~# /opt/plesk/php/7.1/etc/php.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.1.so
-bash: /opt/plesk/php/7.1/etc/php.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.1.so: No such file or directory
root@vps4:~#
____
GNU nano 2.5.3 File: ...ioncube-loader.ini
; Enable ionCube Zend extension module
zend_extension=ioncube_loader_lin_7.1.so















[ Read 2 lines ] ^G Get Help ^O Write Out ^W Where Is ^K Cut Text
^X Exit ^R Read File ^\ Replace ^U Uncut Text
 
Remove all these lines

zend_extension=ioncube_loader_lin_7.1.so

from corresponding config files and re-install plesk-php71-ioncube-loader package.
 
Back
Top