Author Topic: IONCUBE challenges selecting specific version 11.x with PHP 7.4  (Read 2289 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
IONCUBE challenges selecting specific version 11.x with PHP 7.4
« on: November 06, 2022, 02:02:31 AM »
Hi All,

I'm struggling to get ioncube working for a compiled application that runs on our CWP with CentOS 7.

The application requires ioncube v 11.x which is compatible with our PHP 7.4, however CWP wants to install ioncube v 12.0.2 being the latest release.

I've tried manually downloading and configuring ioncube loaders and then selecting 7.4.so and copying the files into applicable locations then editing php config files, but every time I restart httpd PHP still shows ioncube v 12.0.2 installed.

How do I configure a specific version of ioncube loader on CWP?

Many thanks

BeDazzler.

Offline
*****
Re: IONCUBE challenges selecting specific version 11.x with PHP 7.4
« Reply #1 on: November 06, 2022, 07:38:00 PM »
As long as your PHP is compiled with ionCube support already.

All you have to do if download the old ionCube, and upload ALL .so files to /usr/local/ioncube overwriting the existing ones.

Goto your prompt, and do a php -v

Should show your PHP version with the ionCube version you installed.

Reboot, and you should be good to go.
Nothing else should need to be done.

Offline
*
Re: IONCUBE challenges selecting specific version 11.x with PHP 7.4
« Reply #2 on: November 06, 2022, 07:43:01 PM »
Thanks for the reply.

Yes, I am aware of how to install the *latest* ioncube loader, however I have an application that is compiled using v11 which does not work with v12.

I've just heard back from CWP Support and they confirm it is not possible to run an older release of ioncube with CWP as the update process always uses the latest release.

So the application has been broken for 2 days.

This morning I re-enabled the hook files in WHMCS for the module and it suddenly started working.

I have no idea why because I am running the same config and ioncube v12 which failed previously.
« Last Edit: November 06, 2022, 08:00:58 PM by BeDazzler »

Offline
*****
Re: IONCUBE challenges selecting specific version 11.x with PHP 7.4
« Reply #3 on: November 06, 2022, 08:15:59 PM »
Thought ionCube had an archive, they do not. Weird.

Here is a link for 11.0.1:
https://starbursthosting.com/downloads/ioncube_loaders_lin_x86-64-11_0_1.tar.gz

We use WHMCS 8.6.0 with 12.0.2.
Are waiting on some of the apps to support PHP 8.1.x, so we can fully upgrade.