Site error: the [ionCube](http://www.ioncube.com) PHP

Hi guys please help I get ERROR- Site error: the ionCube PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking. Please visit get-loader.ioncube.com for install assistance.

Or just follow the instructions…

Th…you guys, but SEE A LOT ERRORS, ANY IDEAS ???

2024-07-04 20:37:23 (13.9 MB/s) - ‘install_ioncube.sh’ saved [1495/1495]

–2024-07-04 20:37:23-- Home - PHP Encoder, protection, installer and performance tools from ionCube loaders_lin_x86-64.tar.gz
Resolving downloads.ioncube.com (downloads.ioncube.com)… 192.241.136.243
Connecting to downloads.ioncube.com (downloads.ioncube.com)|192.241.136.243|:443 … connected.
HTTP request sent, awaiting response… 200 OK
Length: 15965191 (15M) [application/x-gzip]
Saving to: ‘STDOUT’

  •               100%[===================>]  15.23M  9.59MB/s    in 1.6s
    

2024-07-04 20:37:25 (9.59 MB/s) - written to stdout [15965191/15965191]

Failed loading /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: /usr/lib/php/20 190902/ioncube_loader_lin_7.4.so: undefined symbol: zend_ce_countable
IonCube has been enabled for PHP5.6 to verify please run /usr/bin/php5.6 -v
Failed loading /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: /usr/lib/php/20 190902/ioncube_loader_lin_7.4.so: undefined symbol: zend_ce_countable
IonCube has been enabled for PHP7.0 to verify please run /usr/bin/php7.0 -v
Failed loading /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: /usr/lib/php/20 190902/ioncube_loader_lin_7.4.so: undefined symbol: zend_ce_countable
IonCube has been enabled for PHP7.1 to verify please run /usr/bin/php7.1 -v
Failed loading /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: /usr/lib/php/20 190902/ioncube_loader_lin_7.4.so: undefined symbol: zend_string_init_interned
IonCube has been enabled for PHP7.2 to verify please run /usr/bin/php7.2 -v
Cannot load the ionCube PHP Loader - it was built with configuration API32019090 2,NTS, whereas running engine is API320180731,NTS
IonCube has been enabled for PHP7.3 to verify please run /usr/bin/php7.3 -v
IonCube has been enabled for PHP7.4 to verify please run /usr/bin/php7.4 -v
PHP8.0 is currently not supported by ionCube
Failed loading /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: /usr/lib/php/20 190902/ioncube_loader_lin_7.4.so: undefined symbol: zend_class_serialize_deny
IonCube has been enabled for PHP8.1 to verify please run /usr/bin/php8.1 -v
Failed loading /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: /usr/lib/php/20 190902/ioncube_loader_lin_7.4.so: undefined symbol: zend_class_serialize_deny
IonCube has been enabled for PHP8.2 to verify please run /usr/bin/php8.2 -v

=====================
Last login: Thu Jul 4 20:47:08 2024 from 67.216.55.107
root@server:~# /usr/bin/php8.1 -v
Failed loading /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: /usr/lib/php/20 190902/ioncube_loader_lin_7.4.so: undefined symbol: zend_class_serialize_deny
PHP 8.1.29 (cli) (built: Jun 6 2024 16:53:25) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.29, Copyright (c) Zend Technologies
with the ionCube PHP Loader v13.3.0, Copyright (c) 2002-2024, by ionCube Ltd .
with Zend OPcache v8.1.29, Copyright (c), by Zend Technologies
root@server:~#

Debug it your self …

Last login: Thu Jul 4 20:49:21 2024 from 67.216.55.107
root@server:~# php -v
Failed loading /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: /usr/lib/php/20190902/ioncube_loader_lin_7.4.so: undefined symbol: zend_class_serialize_deny
Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.2.so: /usr/lib/php/20190902/ioncube_loader_lin_8.2.so: cannot open shared object file: No such file or directory
PHP 8.1.29 (cli) (built: Jun 6 2024 16:53:25) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.29, Copyright (c) Zend Technologies
with the ionCube PHP Loader v13.3.0, Copyright (c) 2002-2024, by ionCube Ltd.
with Zend OPcache v8.1.29, Copyright (c), by Zend Technologies

Show the output of these commands:

grep -r ioncube_loader /etc/php/
find /usr/lib/php -type f -name "*ioncube_loader*"

th…you for help

Last login: Fri Jul  5 14:50:18 2024 from 67.216.55.107
root@server:~# grep -r ioncube_loader /etc/php/
/etc/php/7.4/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.4/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.4/fpm/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.4.so
/etc/php/7.4/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.4/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.4/cli/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.4.so
/etc/php/8.2/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/8.2/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/8.2/fpm/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_8.2.so
/etc/php/8.2/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/8.2/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/8.2/cli/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_8.2.so
/etc/php/7.2/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.2/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.2/fpm/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.2.so
/etc/php/7.2/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.2/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.2/cli/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.2.so
/etc/php/8.3/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/8.3/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/8.3/phpdbg/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/8.3/phpdbg/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/8.1/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/8.1/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/8.1/fpm/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_8.1.so
/etc/php/8.1/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/8.1/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/8.1/cli/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_8.1.so
/etc/php/8.0/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/8.0/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/8.0/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/8.0/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.3/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.3/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.3/fpm/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.3.so
/etc/php/7.3/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.3/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.3/cli/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.3.so
/etc/php/5.6/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/5.6/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/5.6/fpm/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_5.6.so
/etc/php/5.6/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/5.6/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/5.6/cli/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_5.6.so
/etc/php/7.1/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.1/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.1/fpm/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.1.so
/etc/php/7.1/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.1/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.1/cli/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.1.so
/etc/php/7.0/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.0/fpm/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.0/fpm/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.0.so
/etc/php/7.0/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/etc/php/7.0/cli/php.ini.vst.back:zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_8.2.so
/etc/php/7.0/cli/conf.d/00-ioncube-loader.ini:zend_extension=ioncube_loader_lin_7.0.so
root@server:~#
=======root@server:~# find /usr/lib/php -type f -name "*ioncube_loader*"
/usr/lib/php/20170718/ioncube_loader_lin_7.2_ts.so
/usr/lib/php/20170718/ioncube_loader_lin_7.2.so
/usr/lib/php/20160303/ioncube_loader_lin_7.1.so
/usr/lib/php/20160303/ioncube_loader_lin_7.1_ts.so
/usr/lib/php/20131226/ioncube_loader_lin_5.6_ts.so
/usr/lib/php/20131226/ioncube_loader_lin_5.6.so
/usr/lib/php/20190902/ioncube_loader_lin_7.4.so
/usr/lib/php/20190902/ioncube_loader_lin_7.4_ts.so
/usr/lib/php/20210902/ioncube_loader_lin_8.1_ts.so
/usr/lib/php/20210902/ioncube_loader_lin_8.1.so
/usr/lib/php/20220829/ioncube_loader_lin_8.2_ts.so
/usr/lib/php/20220829/ioncube_loader_lin_8.2.so
/usr/lib/php/20180731/ioncube_loader_lin_7.3.so
/usr/lib/php/20180731/ioncube_loader_lin_7.3_ts.so
/usr/lib/php/20151012/ioncube_loader_lin_7.0_ts.so
/usr/lib/php/20151012/ioncube_loader_lin_7.0.so
root@s========================

You should delete php.ini.vst.back files:

rm /etc/php/*/*/php.ini.vst.back
systemctl restart php8.1-fpm
php -v

root@server:~# rm /etc/php///php.ini.vst.back
root@server:~# systemctl restart php8.1-fpm
root@server:~# php -v
PHP 8.1.29 (cli) (built: Jun 6 2024 16:53:25) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.29, Copyright (c) Zend Technologies
with the ionCube PHP Loader v13.3.0, Copyright (c) 2002-2024, by ionCube .
with Zend OPcache v8.1.29, Copyright (c), by Zend Technologies
root@server:~#

1 Like

Now should work fine.

th…you very much ! it’s work only php 8.1v? no 8.0,8,2

1 Like

ioncube loader is not available for 8.0 but it should work fine for 8.2:

php8.2 -v