Failed message when enabling ioncube for PHP 8.2 #311

Closed
opened 2026-04-05 20:26:43 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @ricardo777 on 11/29/2023

CloudPanel version(s) affected

2.4.0

Description

When enabling Ioncube stated in the guide https://www.cloudpanel.io/docs/v2/php/guides/ioncube-loader/

The ioncube for php 8.2 is not working and I get the following error when i check php -v

root@:~# php -v PHP Warning: Failed loading Zend extension 'ioncube_loader.so' (tried: /usr/lib/php/20220829/ioncube_loader.so (/usr/lib/php/20220829/ioncube_loader.so: wrong ELF class: ELFCLASS32), /usr/lib/php/20220829/ioncube_loader.so.so (/usr/lib/php/20220829/ioncube_loader.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP 8.2.13 (cli) (built: Nov 22 2023 07:08:08) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.13, Copyright (c) Zend Technologies with Zend OPcache v8.2.13, Copyright (c), by Zend Technologies

When I place the missing ioncube_loader.so in the folder 20220829 and restart php 8.2 the error is gone:

root@s0:~# php -v PHP 8.2.13 (cli) (built: Nov 22 2023 07:08:08) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.13, Copyright (c) Zend Technologies with the ionCube PHP Loader v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd. with Zend OPcache v8.2.13, Copyright (c), by Zend Technologies

Also when using php 7.4 with ioncube is says the versions is to old

How to reproduce

Install Cloudpanel on Debian 11 and enable ioncube, when using php version 8.2 is it not working, because the loader is missing.

Possible Solution

Put the newly downloaded loader in the folder /usr/lib/php/20220829/ found on https://www.ioncube.com/loaders.php

Additional Context

Ioncube loader for version php 7.4 is also old, and getting message: You are using an old version of the ionCube Loader

*Originally created by @ricardo777 on 11/29/2023* ### CloudPanel version(s) affected 2.4.0 ### Description When enabling Ioncube stated in the guide https://www.cloudpanel.io/docs/v2/php/guides/ioncube-loader/ The ioncube for php 8.2 is not working and I get the following error when i check php -v `root@:~# php -v PHP Warning: Failed loading Zend extension 'ioncube_loader.so' (tried: /usr/lib/php/20220829/ioncube_loader.so (/usr/lib/php/20220829/ioncube_loader.so: wrong ELF class: ELFCLASS32), /usr/lib/php/20220829/ioncube_loader.so.so (/usr/lib/php/20220829/ioncube_loader.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP 8.2.13 (cli) (built: Nov 22 2023 07:08:08) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.13, Copyright (c) Zend Technologies with Zend OPcache v8.2.13, Copyright (c), by Zend Technologies` When I place the missing ioncube_loader.so in the folder 20220829 and restart php 8.2 the error is gone: `root@s0:~# php -v PHP 8.2.13 (cli) (built: Nov 22 2023 07:08:08) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.13, Copyright (c) Zend Technologies with the ionCube PHP Loader v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd. with Zend OPcache v8.2.13, Copyright (c), by Zend Technologies` Also when using php 7.4 with ioncube is says the versions is to old ### How to reproduce Install Cloudpanel on Debian 11 and enable ioncube, when using php version 8.2 is it not working, because the loader is missing. ### Possible Solution Put the newly downloaded loader in the folder /usr/lib/php/20220829/ found on https://www.ioncube.com/loaders.php ### Additional Context Ioncube loader for version php 7.4 is also old, and getting message: You are using an old version of the ionCube Loader
Sign in to join this conversation.