Author Topic: Selecting PHP 8.3.x with ionCube  (Read 72 times)

0 Members and 2 Guests are viewing this topic.

Offline
*****
Selecting PHP 8.3.x with ionCube
« on: December 24, 2024, 08:14:41 AM »
The new ionCube loaders support PHP 8.3, but when I compile PHP using the CWP selector, after it's finished I get:

Quote
Cannot load the ionCube PHP Loader - it was built with configuration API420220829,NTS, whereas running engine is API420230831,NTS
PHP 8.3.15 (cli) (built: Dec 24 2024 08:04:25) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.15, Copyright (c) Zend Technologies

Anyone have any suggestions?

Offline
***
Re: Selecting PHP 8.3.x with ionCube
« Reply #1 on: December 24, 2024, 08:34:15 AM »
Update ionCube manually:


Code: [Select]
cd /usr/local/src/
rm -rf ioncube*
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar -xvzf ioncube_loaders_lin_x86-64.tar.gz
mv /usr/local/ioncube /usr/local/ioncube_old
chown -R root.root ioncube
mv ioncube /usr/local/
mv /usr/local/php/php.d/ioncube.ini /usr/local/php/php.d/ioncube.ini_old
echo "zend_extension = /usr/local/ioncube/ioncube_loader_lin_8.3.so" > /usr/local/php/php.d/ioncube.ini
« Last Edit: December 24, 2024, 08:36:12 AM by cyberspace »

Offline
*****
Re: Selecting PHP 8.3.x with ionCube
« Reply #2 on: December 24, 2024, 11:34:18 PM »
Thanks.

The old /usr/local/php/php.d/ioncube.ini even though CWP built PHP 8.3 with the ionCube options, it left it as:
Quote
zend_extension=/usr/local/ioncube/ioncube_loader_lin_8.2.so

Changed the ending to 8.3.so and it work's now.  :)

Offline
***
Re: Selecting PHP 8.3.x with ionCube
« Reply #3 on: December 25, 2024, 11:15:28 AM »
Ya, two things could cause the problem:

1. Wrong path and/or filename to load the ionCube lib
2. Outdated ionCube loader libs

I decided to provide full set of steps to fix the problem if it is caused by any of these.

Anyway, I am glad to hear you solved the problem.

Offline
*****
Re: Selecting PHP 8.3.x with ionCube
« Reply #4 on: December 25, 2024, 05:30:55 PM »
Yea, /usr/local/php/php.d/ioncube.ini has 8.2 in it, not 8.3

Once I changed it, it started working.

And yes, it's always good posting the whole thing.